[Bug 1078699] Re: winbind won't start at boot
Well, his fix did not work. Let's try the sleep hack -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
Using Ubuntu 14.04.1 LTS. I also have this bug ans as Clint Byrum (clint-fewbar) writes with lsb-init scripts I have to agree. I don't understand everything but I have the old settings and changed them now. Rebooting the system. Let's see if winbind and nmbd are loaded... -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
No, not even the fix. I might have to look deeper into it. It's too bad, that this bug is that old. Samba 4 is really great. Once installing and compiling by hand under Ubuntu it really rocks. I'm pretty sure there is a lot of mess with the packages patches and old scripts. We should find a way to fix those issue and make samba more reliable. -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba (Ubuntu) Status: New = Confirmed -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
** Changed in: samba (Ubuntu) Status: Incomplete = New -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
Here's a dump directly from /var/crash Just re-run version check: # apt-cache policy winbind winbind: Installato: 2:3.6.3-2ubuntu2.3 Candidato: 2:3.6.3-2ubuntu2.3 Tabella versione: *** 2:3.6.3-2ubuntu2.3 0 500 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 2:3.6.3-2ubuntu2.1 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 2:3.6.3-2ubuntu2 0 500 http://it.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages ** Attachment added: _usr_sbin_winbindd.0.crash https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1078699/+attachment/3496421/+files/_usr_sbin_winbindd.0.crash -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
IIUC, winbind should be started *before* smbd, not after (smbd uses winbind, if available, for mapping). And actually I don't have smbd installed at all (I just use winbind to authenticate and authorize local users against AD). To collect crash logs I'll have to install another system: the two affected already use the ugly patch (rc.local w/ a sleep 30 service winbind restart ). It will take some time. -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
A just slightly less ugly fix is introducing /etc/rc2.d/S10sleep with RCDELAY=30 sleep $RCDELAY Seems to work -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
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 Server Team, which is subscribed to samba in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
Possibly related to bug 1083407? -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1078699] Re: winbind won't start at boot
I don't think so, but might be (hard to tell, when speaking of race conditions). In 1083407 winbindd is hung, while in this case it exits. And the machines where I experienced that are actually quite slow. -- 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/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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs