Red Hat Bugzilla – Bug 160059
init script will not stop daemon if smb.conf deleted while running
Last modified: 2007-11-30 17:07:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
"/etc/init.d/smb stop" exits silently if smb.conf does not exist.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. With existing /etc/samba/smb.conf, start samba (/etc/init.d/smb start).
2. Delete or rename /etc/samba/smb.conf
3. "/etc/init.d/smb stop" will exit silently.
Actual Results: The script silently exits without stopping smbd.
Expected Results: Service should be stopped.
Filed as low priority because this is not likely to happen often and an easy workaround is present (killall smbd nmbd).
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
While smb.conf is the config file and not the init script itself, it is a
required comopnent of the package. Removing smb.conf is not considered a correct
If you think there is a situation in which removing smb.conf is necessary or
happens under some condition, please reopen the bug and describe in which
situation this may happen.