samba: nmbd stopping fails once?

Jens Stroebel drifter at bcsoft.de
Fri Jul 20 05:18:07 PDT 2007


			Hi out there ;-)

I'm experiencing a strange phenomenon when watching the

	/etc/rc.d/init.d/samba stop

happen: the nmbd process seems unwilling to die, needing 2 times
killproc here.

While shutting down, I don't want UNNESCESSARY failure notices to appear
on the screen; when using the un-altered blfs init script for samba,
I get a failure notice for "Stopping nmbd...".
I changed the killproc line for nmbd to avoid this:

###################################################################
boot_mesg "Stopping nmbd..."
                killproc /usr/sbin/nmbd || killproc /usr/sbin/nmbd
###################################################################

In the unlikely event that the first killproc succeeds, there won't be a
second one. This is a little time-consuming, but I didn't find another
solution. Suggestions welcome.

		greets,
		  jens
-- 
drifter at bcsoft.de
			23.....56.......drifting
By caffeine alone I set my mind in motion, By the beans of Java
do thoughts acquire speed,  hands acquire shaking,  the shaking
becomes a warning, By caffeine alone do I set my mind in motion



More information about the blfs-dev mailing list