Bug #2327
CentOS 6 rpms fail to install on systems enrolled on a FreeIPA domain
Status: | Closed | Start date: | 09/17/2013 | |
---|---|---|---|---|
Priority: | Normal | Due 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.
History
#1 Updated by Ruben S. Montero almost 8 years ago
- Status changed from Pending to New
#2 Updated by Jaime Melis over 7 years ago
- Status changed from New to Closed
- Target version set to Release 4.4
- Resolution set to fixed
Patch applied.
Thanks!