Bug 160059 - init script will not stop daemon if smb.conf deleted while running
init script will not stop daemon if smb.conf deleted while running
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: samba (Show other bugs)
4.0
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Simo Sorce
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-10 11:21 EDT by Chester Hosey
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-05 14:11:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chester Hosey 2005-06-10 11:21:56 EDT
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):
samba-3.0.10-1.4E

How reproducible:
Always

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.

Additional info:

Filed as low priority because this is not likely to happen often and an easy workaround is present (killall smbd nmbd).
Comment 1 RHEL Product and Program Management 2006-08-18 13:38:45 EDT
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
release.
Comment 4 Simo Sorce 2007-03-05 14:22:41 EST
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
operation.

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.

Note You need to log in before you can comment on or make changes to this bug.