Bug #1221

problem with the rpm preinstall script

Added by SZTAKI LPDS about 9 years ago. Updated over 7 years ago.

Status:ClosedStart date:04/11/2012
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.4


Dear Developers,

we discovered that if the oneadmin posix user already exists in the system before the rpm package installation, and the user comes from LDAP, then the rpm preinstall script could not detect the existence of the oneadmin user, and tries to add it without success. This happens because the script greps the /etc/passwd for the oneadmin user name. Instead of that, it should execute the "getent passwd oneadmin" command.


#1 Updated by SZTAKI LPDS about 9 years ago

I forgot to mention that the OS and the package is CentOS

#2 Updated by Jaime Melis over 7 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Fixed by #2327


Also available in: Atom PDF