Description of problem:
winbind's init script reports successful startup despite the fact that winbind
gives up because of denied access to trust account secrets (happens for example
when /etc/samba/secrets.tdb has got a wrong selinux context, bug #452082).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
change selinux context of /etc/samba/secrets.tdb
(or chmod ugo-rwx /etc/samba/secrets.tdb)
service winbind start
Starting Winbind services: [ OK ]
# echo $?
# service winbind status
winbindd dead but subsys locked
Starting Winbind services: [FAILED]
# tail /var/log/samba/winbindd.log
Failed to open /etc/samba/secrets.tdb
Could not initialize domain trust account secrets. Giving up
The related SELinux bug was solved but reporting the correct error in all situations is not possible.