[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
Wed Aug 2 13:32:16 UTC 2017


Ok, so please attach a fresh set of logs right after a reboot where the problem happens. I would like:
- /var/log/syslog
- /var/log/samba/log.nmbd
- /var/log/samba/log.smbd
- ps fauxw output after boot

I'll correlate timestamps between them to try to see what's going on. I
suspect the fact that networking (wifi) is only up at the very end has
something to do with it.

Is wifi connected at the login screen, or only after you login?

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