Ok, first off, winbind.conf has this old relic start on

start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]

This will start winbind as soon as *any* network interface is up, which
is not what we want. The appropriate conditions are:

start on runlevel [2345]
stop on runlevel [^2345]

This will make sure that winbind waits for all of the interfaces in
/etc/network/interfaces to be up.

Now, in the lsb-init script from Debian:

# Should-Start:      samba

This means that winbind needs to ensure samba is started before it
starts. Now, samba is broken up into smbd and nmbd in the Ubuntu
packages. So the pre-start should really have this:

if [ -f /etc/init/smbd.conf ] ; then
    start wait-for-state WAITER=winbind WAIT_FOR=smbd
fi
# repeat for nmbd

However, its not entirely clear if any of this will actually solve the
issue reported here. Nevertheless, its stuff that needs to happen.

Diego, is there any way you can look through the logs on an affected
system and find the error messages from winbind? I thin it logs
somewhere in /var/log/samba.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

** Changed in: samba (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078699

Title:
  winbind won't start at boot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to