[Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

Steve Langasek steve.langasek at canonical.com
Fri Sep 2 18:55:14 UTC 2011


I don't know why this file is being installed in later versions.  The
reason it's not installed for lucid is seen here:

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.langasek at ubuntu.com>  Thu, 18 Feb 2010
12:51:45 +0000

I already tried to remove this ifupdown hook once before.  It should be
entirely irrelevant given the current nmbd start condition, and if it's
not irrelevant, it's also not reliable because the same thing that
triggers nmbd before the interface is really up will also call the
ifupdown hooks.

And no, bug #836849 is not the same bug.  The ifupdown hook was always
about getting *nmbd* to start up; that bug is about smbd startup.

** Changed in: samba (Ubuntu Lucid)
       Status: Triaged => Fix Released

** Changed in: samba (Ubuntu Lucid)
    Milestone: ubuntu-10.04.4 => None

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

Title:
  nmbd dies on startup when network interfaces are not up yet

Status in Samba:
  Invalid
Status in Release Notes for Ubuntu:
  Fix Released
Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Lucid:
  Fix Released
Status in “samba” source package in Karmic:
  Fix Released

Bug description:
  Binary package hint: samba

  After installation with the daily build (20091027.2) ubuntu server i386 cd there is no nmbd running on my system. The logfile tells me that the daemons was startet but there is no process. The /var/run/samba/nmbd.pid file is still there but the pid from this file is not there. If i reboot the machine i can reproduce this.
  smbd and winbind are running as normal.

  Please tell me what i can do to help you.

  ================
  Karmic release note:

  Samba nmbd daemon not started during boot

  Upon boot a karmic system with samba installed will not have the nmbd
  daemon running. A workaround is to restart the samba service once the
  system a finished booting.  A fix for this issue should be provided in
  a post-release update.

  ================

  TEST CASE:
  1.install samba 3.4.0-3ubuntu5.1 on a system whose wireless network is managed with network manager, on a network with both ipv6 and ipv4 support.
  2. dissociate from the network using the 'disconnect' option in nm-applet.
  3. $ sudo service samba stop
  4. $ sudo service samba start
  5. verify that the nmbd process is not running.
  6. reconnect to the wireless.
  7. verify that the nmbd process is still not running.
  8. install samba 3.4.0-3ubuntu5.3
  9. repeat steps 2-6
  10. verify that the nmbd process is now running.

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




More information about the foundations-bugs mailing list