Samba needs additional restart on reboot?

Solution 1:

You have changed /etc/samba/smb.conf to have smbd bind to a specific interface.

interfaces = lo eth0
bind interfaces only = true

Therefore you also need to edit /etc/init/smbd.conf to ensure that smbd starts only after that your interface is up as described in https://bugs.launchpad.net/ubuntu/+source/samba/+bug/771305/comments/17

so, edit /etc/init/smbd.conf and change

start on (local-filesystems and net-device-up)

with

start on (local-filesystems and net-device-up IFACE=eth0 and started udev-finish)

Solution 2:

hmmm I know it is a hack, but can't you do the additional restart in a startup script, until you got the final answer? =D just my 2 bits..