Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302124

Summary: Broken init script' config for 3.4.5
Product: Gentoo Linux Reporter: Igor Franchuk <lanthruster>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.samba.org
Whiteboard:
Package list:
Runtime testing required: ---

Description Igor Franchuk 2010-01-25 01:59:58 UTC
no pid --pidfile

3.4.5 config 

smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"

should be
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd --pidfile /var/run/samba/smbd.pid"

nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd --pidfile /var/run/samba/nmbd.pid"



Reproducible: Always

Steps to Reproduce:
1./etc/init.d/samba start
2./etc/init.d/samba stop
3.

Actual Results:  
 # /etc/init.d/samba stop
 * samba -> stop: smbd ...                                                                                                                             [ ok ]
 * samba -> stop: nmbd ...                                                                                                                             [ !! ]

Expected Results:  
 # /etc/init.d/samba stop
 * samba -> stop: smbd ...                                                                                                                             [ ok ]
 * samba -> stop: nmbd ...                                                                                                                             [ ok ]
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-01-25 06:31:08 UTC

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