[Bug 728047] Re: smbd + ldap hangs at startup after update
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as Won't Fix. ** Changed in: openldap (Ubuntu Lucid) Status: Confirmed = Won't Fix -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as Won't Fix. ** Changed in: samba (Ubuntu Lucid) Status: Confirmed = Won't Fix -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
maverick has seen the end of its life and is no longer receiving any updates. Marking the maverick task for this ticket as Won't Fix. ** Changed in: openldap (Ubuntu Maverick) Status: Confirmed = Won't Fix -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
maverick has seen the end of its life and is no longer receiving any updates. Marking the maverick task for this ticket as Won't Fix. ** Changed in: samba (Ubuntu Maverick) Status: Confirmed = Won't Fix -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
+! Vanilla install, issue seen. Although I can't get slapd to restart at all. -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
Vanilla install on Lucid 10..04.3 here, still the same issue. -- 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
** Changed in: openldap (Ubuntu Lucid) Status: New = Confirmed ** Changed in: samba (Ubuntu Lucid) Status: New = Confirmed ** Changed in: openldap (Ubuntu Maverick) Status: New = Confirmed ** Changed in: samba (Ubuntu Maverick) 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/728047 Title: smbd + ldap hangs at startup after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+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 728047] Re: smbd + ldap hangs at startup after update
** Also affects: openldap (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Lucid) Importance: Undecided Status: 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
** Also affects: openldap (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Maverick) Importance: Undecided Status: 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
After upgrade of the following packages today libpam-smbpass libwbclient0 linux-image-server linux-libc-dev linux-server samba samba-common samba-common-bin samba-doc smbclient smbfs tzdata tzdata-java winbind I must restart the samba server as well. -- 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
** Tags added: hardy2lucid -- 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
Hello Clint, yes the server was upgraded! Originally installed on Ubuntu 7.10 and upgrade to Ubuntu Server 8.04, five weeks ago we upgrade than to Ubuntu 10.04. -- 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
Hi Slu, thanks for taking the time to file this bug and help us make ubuntu better. You don't mention what version you were on before. The start condition for smbd has been the same since Feb of last year: samba (2:3.4.5~dfsg-2ubuntu2) lucid; urgency=low * Switch smbd and nmbd over to upstart jobs, to ensure nmbd starts reliably after the network is up. LP: #523868. * Remove /etc/network/if-up.d/samba on upgrade, superseded by the above. -- Steve Langasek steve.langa...@ubuntu.com Thu, 18 Feb 2010 12:51:45 + smbd is started as soon as local-filesystems is emitted by mountall, which is very early in the boot. To fix this issue on lucid, we could very easily add an upstart job to the slapd package which removes it from the sysvinit startup and starts it before smbd: # slapd-before-samba start on starting smbd task script update-rc.d slapd remove || : update-rc.d slapd stop 70 0 1 6 . exec /etc/init.d/slapd start end script Of course, even better would be to simply create an upstart job for slapd which can define starting smbd as its start criteria (or even better, start on starting NEEDS_LDAP=1 and then export that in smbd and other services' upstart job definitions). This sounds like its been the case since 10.04 was released though, so I'm not sure what the importance should be. For now I'm going to mark this as Triaged and Medium, as this sounds like a new accidental regression for a limited set of users (who run their slapd and smbd on the same box). If you could please confirm that this was caused by an upgrade from hardy or karmic to lucid, that would help (and would warrant tagging this bug hardy2lucid or karmic2lucid). It doesn't make any sense that any of the lucid updates would cause it. The key is that slapd is explicitly started at level 19 in the sysvinit sequence. This seems deliberate, since it is common for slapd to support other services locally. Since samba has been moved out of the sysvinit sequence, to make it depend on slapd one must do something like above. This is similar to bug #445619 which documents the same effect for kerberos servers which depend on slapd In summary, marking Triaged, setting importance to Medium. Also adding openldap task since this really has to be fixed there, though it might be worked around in samba for SRU's. ** Tags added: upstart ** Changed in: samba (Ubuntu) Status: New = Triaged ** Changed in: samba (Ubuntu) Importance: Undecided = Medium ** Also affects: openldap (Ubuntu) Importance: Undecided Status: New ** Changed in: openldap (Ubuntu) Status: New = Triaged ** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Tags added: regression-release -- 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/728047 Title: smbd + ldap hangs at startup after update -- 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 728047] Re: smbd + ldap hangs at startup after update
** Tags added: lucid -- 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/728047 Title: smbd + ldap hangs at startup after update -- 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