problem with the rpm preinstall script
|Affected Versions:||OpenNebula 3.4|
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.