[Bug 488100] Review Request: firebird - Firebird SQL database management system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wart@xxxxxxxxxx




--- Comment #18 from Wart <wart@xxxxxxxxxx>  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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]