Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#840608: systemd: nmbd.service long time to start when rebooting

106 views
Skip to first unread message

Michael Biebl

unread,
Oct 13, 2016, 7:40:03 AM10/13/16
to
Control: tags -1 + moreinfo

Hi
Am 13.10.2016 um 10:33 schrieb kirill:

> systemd-analyze blame | head -8
> 22.026s nmbd.service
> 6.217s systemd-tmpfiles-setup.service
> 4.462s networking.service
> 3.521s alsa-restore.service
> 3.474s pppd-dns.service
> 3.473s incron.service
> 3.465s systemd-logind.service
> 3.456s rc-local.service
> ---------------------------
> systemd-analyze critical-chain
>
> graphical.target @36.509s
> └─multi-user.target @36.509s
> └─smbd.service @35.994s +514ms
> └─nmbd.service @13.967s +22.026s
> └─basic.target @13.946s
> └─paths.target @13.946s
> └─cups.path @13.946s
> └─sysinit.target @13.871s
> └─nfs-common.service @13.481s +389ms
> └─rpcbind.target @13.481s
> └─rpcbind.service @12.167s +1.313s
> └─network-online.target @12.167s
> └─network.target @12.167s
> └─if...@eth0.service @12.167s
> └─networking.service @7.704s +4.462s
> └─systemd-random-seed.service @7.249s +454ms
> └─var.mount @6.357s +874ms
> └─systemd-fsck@dev-disk-by\x2duuid-0d8732cc\x2d691a\x2d41a0\x2d9266\x2d6690e358a902.service @5.048s +1.309s
> └─dev-disk-by\x2duuid-0d8732cc\x2d691a\x2d41a0\x2d9266\x2d6690e358a902.device @5.047s


Can you find out, what nmbd is waiting for?
That smells like a network issue. I assume if you use
systemctl restart nmbd.service when the system is running it doesn't
take 22 seconds?


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

signature.asc

Kirill Sutulo

unread,
Oct 13, 2016, 9:30:02 AM10/13/16
to
Yes. restarting service is very fast.

Kirill Sutulo

unread,
Oct 13, 2016, 9:40:02 AM10/13/16
to
I can not find someone waiting for this service. The problem persists
also at the two VMs.

Maybe strace log helps? Or reportbug to samba package?

Thank You!

Michael Biebl

unread,
Oct 13, 2016, 9:50:02 AM10/13/16
to
Am 13.10.2016 um 15:33 schrieb Kirill Sutulo:
> I can not find someone waiting for this service. The problem persists
> also at the two VMs.
>
> Maybe strace log helps? Or reportbug to samba package?

A strace would be helpful.
If you change your network configuration in /etc/network/interface and
you use "auto" instead of "allow-hotplug", does it make a difference?
signature.asc

Kirill Sutulo

unread,
Oct 17, 2016, 1:50:05 AM10/17/16
to
No difference between allow-hotplug auto directives in /etc/network/interfaces.


On 10/17/16, Kirill Sutulo <sut...@gmail.com> wrote:
> this is nmbd strace output

Michael Biebl

unread,
Oct 18, 2016, 9:10:03 AM10/18/16
to
Control: reassign -1 samba

I didn't see anything which would point at an issue in systemd, so I'm
reassigning this to the samba package. Your strace showed quite a bit of
network activity, so maybe nmbd just takes a bit longer on initial
startup under certain conditions. The samba maintainers can probably
help you diagnose this better.

Regards,
Michael

Am 13.10.2016 um 15:33 schrieb Kirill Sutulo:
signature.asc
0 new messages