Comment 13 for bug 125687

Revision history for this message
Peter Cordes (peter-cordes) wrote :

> 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).