https://bugzilla.novell.com/show_bug.cgi?id=765699
https://bugzilla.novell.com/show_bug.cgi?id=765699#c2
--- Comment #2 from Stanislav Brabec 2012-06-06 18:57:32 CEST ---
I got it!
oct:~ # rpm -q --scripts openssh | grep useradd
getent passwd sshd >/dev/null || /usr/sbin/useradd -r -g sshd -d /var/lib/sshd
-s /bin/false -c "SSH daemon" sshd
oct:~ # userdel sshd
no crontab for sshd
oct:~ # getent passwd sshd
sshd:x:101:102:SSH daemon:/var/lib/sshd:/bin/false
oct:~ # grep sshd /etc/passwd
oct:~ # getent passwd sshd
sshd:x:101:102:SSH daemon:/var/lib/sshd:/bin/false
oct:~ # echo $?
0
oct:~ # getent -s files passwd sshd
oct:~ # echo $?
2
=> getent evaluates network passwords and scriptlet refuse to add daemon UIDs
locally. As one of possible fix, we can change getent to getent -s files, or
rewrite scriptlets in another smart way.
Note: Even in 12.1, calling getent is probably unwanted, as it can hang
scriptlet on network timeout.
My /etc/nssswitch.conf contains:
passwd: compat sss
group: compat sss
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.