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:

0%

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

Description

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.

History

#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

Thanks!

Also available in: Atom PDF