Comment 9 for bug 823878

Revision history for this message
camden lindsay (camden-lindsay+launchpad) wrote :

To be clear and recap--

smb.conf has the following
interfaces = eth0

Static IP was assigned via network manager.

smbd would not start up-- as per https://bugs.launchpad.net/ubuntu/+source/samba/+bug/836849 (open_socket_smbd fail)

As per this bug (the one i am currently updating), i edited the startup in /etc/init/smbd.conf to be the following
start on (local-filesystems and net-device-up IFACE=eth0)

smbd started without a problem, but nmbd no longer started at boot.

Following the debug tips in the bug
https://bugs.launchpad.net/ubuntu/lucid/+source/samba/+bug/596064
I identified that nmbd was not starting because /var/run/samba did not exist. I added 'mkdir -p /var/run/samba' to the pre-start script of /etc/init/nmbd.conf as suggested by bug 596064, and now everything starts up as expected.

hope this explains it..