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.
it works in bookworm:
====================================================================
root@bookworm:~# systemctl status nmbd
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; preset:
enabled)
Active: activating (start) since Sat 2024-12-21 10:33:33 CET; 1min 25s ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 635 ExecCondition=/usr/share/samba/is-configured nmb (code=exited,
status=0/SUCCESS)
Main PID: 721 (nmbd)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting
for interface ..."
Tasks: 1 (limit: 2284)
Memory: 6.1M
CPU: 125ms
CGroup: /system.slice/nmbd.service
└─721 /usr/sbin/nmbd --foreground --no-process-group
dic 21 10:33:33 bookworm systemd[1]: Starting nmbd.service - Samba NMB
Daemon...
stop working in unstable and testing
====================================================================
root@unstable:~# systemctl status nmbd
× nmbd.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled; preset:
enabled)
Active: failed (Result: timeout) since Sat 2024-12-21 10:54:34 CET; 48s
ago
Invocation: 609f91361bad477684c382f29ae33fe6
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 722 ExecCondition=/usr/share/samba/is-configured nmb (code=exited,
status=0/SUCCESS)
Process: 992 ExecStart=/usr/sbin/nmbd --foreground --no-process-group
$NMBDOPTIONS (code=killed, signal=TERM)
Main PID: 992 (code=killed, signal=TERM)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting
for interface ..."
Mem peak: 11.8M
CPU: 219ms
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.