[Pkg-samba-maint] Bug#1090974: nmbd.service: Failed with result 'timeout'.
Michael Tokarev
mjt at tls.msk.ru
Sat Dec 21 14:27:09 GMT 2024
21.12.2024 16:44, luca.pedrielli wrote:
> Package: samba
> Version: 2:4.21.2+dfsg-3
> Severity: normal
> X-Debbugs-Cc: agoiza at gmail.com
>
> after the latest updates the boot is slowed down by nmbd.service that receives
> a timeout.
> this happens in testing and fully updated unstable.
> it only happens if "No local IPv4 non-loopback interfaces available".
> to reproduce it just unplug the network cable and reboot or use a wifi
> connection.
That's an excellent reproducer, thanks!
Meanwhile, can you just disable netbios? Are you sure you actually need it?
add 'disable netbios = yes' to the '[global]' section of samba.conf, and
it wont start anymore (or just disable the systemd service).
...
> dic 21 10:53:04 unstable systemd[1]: Starting nmbd.service - Samba NMB Daemon...
> dic 21 10:54:34 unstable systemd[1]: nmbd.service: start operation timed out. Terminating.
> dic 21 10:54:34 unstable systemd[1]: nmbd.service: Failed with result 'timeout'.
> dic 21 10:54:34 unstable systemd[1]: Failed to start nmbd.service - Samba NMB Daemon.
It looks like in samba 4.21 (as opposed to 4.17), this "waiting for interfaces"
comes before sending systemd notification.
Thanks,
/mjt
More information about the Pkg-samba-maint
mailing list