Bug 247716 - SAMBA start script doesn't start nmbd daemon
SAMBA start script doesn't start nmbd daemon
Status: CLOSED DUPLICATE of bug 244984
Product: Fedora
Classification: Fedora
Component: samba (Show other bugs)
7
All Linux
low Severity high
: ---
: ---
Assigned To: Simo Sorce
Fedora Extras Quality Assurance
:
: 247714 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-10 18:36 EDT by Joshua Rosen
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-10 19:38:24 EDT
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 Joshua Rosen 2007-07-10 18:36:07 EDT
Description of problem:

The F7 /etc/init.d/smb script doesn't start the nmbd daemon. As a result the
SAMBA shares aren't visible to Windows. The fix is to replace the F7 smb script
with the FC6 version.

Version-Release number of selected component (if applicable):


How reproducible: 100%

Here is the start() script in F7

start() {
        KIND="SMB"
	echo -n $"Starting $KIND services: "
	daemon smbd $SMBDOPTIONS
	RETVAL=$?
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/smb || \
	   RETVAL=1
	return $RETVAL
}

Here is the script from FC6

start() {
        KIND="SMB"
	echo -n $"Starting $KIND services: "
	daemon smbd $SMBDOPTIONS
	RETVAL=$?
	echo
        KIND="NMB"
	echo -n $"Starting $KIND services: "
	daemon nmbd $NMBDOPTIONS
	RETVAL2=$?
	echo
	[ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ] && touch /var/lock/subsys/smb || \
	   RETVAL=1
	return $RETVAL
}




Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Joshua Rosen 2007-07-10 19:12:20 EDT
*** Bug 247714 has been marked as a duplicate of this bug. ***
Comment 2 Simo Sorce 2007-07-10 19:38:24 EDT

*** This bug has been marked as a duplicate of 244984 ***

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