[Bug 488100] Review Request: firebird - Firebird SQL database management system
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 18 15:26:13 UTC 2009
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 at kobold.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wart at kobold.org
--- Comment #18 from Wart <wart at 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} || :
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-package-review
mailing list