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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/823878

Title:
  "bind interfaces only" requires a manual change to /etc/init/smbd.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/823878/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to