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

Clint Byrum clint at fewbar.com
Fri Sep 2 18:34:50 UTC 2011


I'm not entirely certain that this was actually fixed on lucid, despite
the changelog entry added to 2:3.4.3-2ubuntu2 ...

I look at the package branch at that revision, and it does not install
/etc/network/if-up.d/samba. Likewise, now that I see bug #836849
reported, it would appear that what happened was, the file was added,
installed into the right place in debian/rules, but not added to
debian/samba.files

+   mkdir -p $(DESTDIR)/etc/network/if-up.d
+   install -o root -g root debian/samba.if-up $(DESTDIR)/etc/network/if-up.d/samba

This just makes it go into $DESTDIR , but it would need to be in
debian/samba.files to make it into the package.

Later, in a merge w/ Debian, this file *was* added to debian/samba.files

So, on a lucid system, smbd is not actually started on ifup.

Moving the status of the Lucid task back to "Triaged" based on this
information, and marking bug #836849 as a duplicate of this bug.

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

** Changed in: samba (Ubuntu Lucid)
    Milestone: lucid-alpha-3 => ubuntu-10.04.4

-- 
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:
  Triaged
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