[Bug 125687] Re: Samba does not start on boot.

Peter Cordes peter at cordes.ca
Mon Sep 8 19:15:57 BST 2008


> This should be already fixed in hardy.

 It isn't totally fixed, unless samba is supposed to start before
interfaces are configured by DHCP, and that doesn't count as a bug.

my smb.conf has
   interfaces = 127.0.0.1/8 10.255.255.255/8
   bind interfaces only = true

 so eth0 _has_ to be up and configured by DHCP before smbd starts, or it will end up listening only on the loopback interface.  I put this hack at the end of my /etc/rc.local
(sleep 60 && /etc/init.d/samba restart)&

 After every boot, one of smbd and nmbd has already exitted by the time
the restart happens.  Sorry I don't remember which.  My hack does get
both started properly, though, since networking is always up by then.

debsums -a samba  shows that my /etc/init.d/samba is the Ubuntu package
version (3.0.28a-1ubuntu4.4).


** Changed in: samba (Ubuntu)
       Status: Fix Released => In Progress

-- 
Samba does not start on boot.
https://bugs.launchpad.net/bugs/125687
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.



More information about the Ubuntu-server-bugs mailing list