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): samba-3.0.28-0.el4.9 How reproducible: Always Steps to Reproduce: change selinux context of /etc/samba/secrets.tdb (or chmod ugo-rwx /etc/samba/secrets.tdb) service winbind start Actual results: Starting Winbind services: [ OK ] # echo $? 0 # service winbind status winbindd dead but subsys locked Expected results: Starting Winbind services: [FAILED] Additional info: # 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.