[Pkg-samba-maint] Bug#501075: Bug#501075: samba: Daemons don't start on boot because network is not yet up

Steve Langasek vorlon at debian.org
Fri Oct 3 21:15:05 UTC 2008


On Fri, Oct 03, 2008 at 10:53:13PM +0200, Juergen Stuber wrote:
> Package: samba
> Version: 2:3.2.3-1
> Severity: normal

> smbd and nmbd failed to start up at boot, I started them manually from swat.
> It seems this is due to the network not being up at the time,
> it only comes up some seconds later.

Why is this?  On a normal Debian system, the network is brought up in
runlevel S (/etc/rcS.d/S40networking), whereas network servers such as samba
aren't started until runlevel 2 (/etc/rc2.d/S20samba).  Why is this not the
case on your system?

Even if you were letting NetworkManager handle all of your network
interfaces, the loopback interface should still be brought up by
/etc/rcS.d/S40networking, AFAIK. and that's sufficient to let smbd start,
unless you have made some atypical changes to the 'interfaces' line in your
smb.conf.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list