[Bug 1706990] Re: With samba installed on Kubuntu 17.04, nmbd.service causes a 10 second boot time regression

Andreas Hasenack andreas at canonical.com
Mon Jul 31 14:24:15 UTC 2017


Thanks for filing this bug in Ubuntu.

Could you please share the following files:
- /etc/samba/smb.conf
- /var/log/samba/log* (all files in /var/log/samba that begin with "log")

Finally, please also share the output of this command (you may redirect
the output to a file and attach that file instead):

sudo systemctl status smbd.service nmbd.service winbind.service samba-
ad-dc.service


Thanks!


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

-- 
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/1706990

Title:
  With samba installed on Kubuntu 17.04, nmbd.service causes a 10 second
  boot time regression

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  I'm running Kubuntu 17.04. After installing Samba rsion 2:4.5.8+dfsg-
  0ubuntu0.17.04.4), my boot time has regressed from about 12 seconds to
  23 seconds. `systemd-blame` shows that the culprit is the nmbd
  service:

  $ systemd-analyze blame | head -n 5
           10.017s nmbd.service
            8.008s apt-daily.service
            3.010s iio-sensor-proxy.service
             561ms dev-nvme0n1p2.device
             554ms NetworkManager-wait-online.service


  The nmbd systemd logs show that the 10 seconds is spent looking for a
  non-child nmb process:

  $ systemctl status nmbd.service | tail -n 3
  Jul 26 19:49:24 Spectre systemd[1]: Starting Samba NMB Daemon...
  Jul 26 19:49:24 Spectre systemd[1]: nmbd.service: Supervising process 1091 which is not our child. We'll most likely not notice when it exits.
  Jul 26 19:49:34 Spectre systemd[1]: Started Samba NMB Daemon.

  
  If I uninstall samba, the problem disappears.

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



More information about the foundations-bugs mailing list