Bug #2327

CentOS 6 rpms fail to install on systems enrolled on a FreeIPA domain

Added by Andrei Nistor over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:09/17/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Packaging
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.2

Description

At work we're using FreeIPA to manage our user accounts. We already have a "oneadmin" account on the freeipa server, but the preinstall script checks only /etc/passwd to see if oneadmin exists. Of course it can't find it so it tries to add it and fails.

I've attached a patch to the spec file that checks for the oneadmin user using getent (as we already do for the oneadmin group).

I've also switched the semantics of the if conditional, it seems more natural that way. I can make a new patch to revert it if requested.

centos6.patch Magnifier (668 Bytes) Andrei Nistor, 09/17/2013 11:57 AM

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Status changed from Pending to New

#2 Updated by Jaime Melis about 7 years ago

  • Status changed from New to Closed
  • Target version set to Release 4.4
  • Resolution set to fixed

Patch applied.

Thanks!

Also available in: Atom PDF