Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=488100
Wart wart@kobold.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wart@kobold.org
--- Comment #18 from Wart wart@kobold.org 2009-03-18 11:26:09 EDT --- (In reply to comment #17)
There is another problem in .spec, creation of user firebird failed
This have to be on one line: grep -q %{name} /etc/passwd || /usr/sbin/useradd -d / -g %{name} -s /sbin/nologin -r %{name} || true
Don't assume that all users will be listed in /etc/passwd. This assumption may be false if the host uses directory services (NIS, LDAP). Better to use 'getent' instead:
getent passwd %{name} >/dev/null || \ usr/sbin/useradd -d -g %{name} -s /sbin/nologin -r %{name} || :