[Pkg-samba-maint] Bug#1090974: nmbd.service: Failed with result 'timeout'.

luca.pedrielli agoiza at gmail.com
Sat Dec 21 13:44:41 GMT 2024


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.

it works in bookworm:
====================================================================
root at 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 at 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.


-- Package-specific info:
* /etc/samba/smb.conf present, but not attached

-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba depends on:
ii init-system-helpers 1.67
ii libbsd0 0.12.2-2
ii libc6 2.40-4
ii libcups2t64 2.4.10-2
ii libdbus-1-3 1.16.0-1
ii libgnutls30t64 3.8.8-2
ii libldap-2.5-0 2.5.18+dfsg-3+b1
ii libldb2 2:2.10.0+samba4.21.2+dfsg-3
ii libpopt0 1.19+dfsg-2
ii libtalloc2 2.4.2-1+b3
ii libtasn1-6 4.19.0-3+b3
ii libtdb1 1.4.12-1
ii libtevent0t64 0.16.1-3
ii libtirpc3t64 1.3.4+ds-1.3+b1
ii liburing2 2.8-1
ii passwd 1:4.16.0-7
ii procps 2:4.0.4-6
ii samba-common 2:4.21.2+dfsg-3
ii samba-common-bin 2:4.21.2+dfsg-3
ii samba-libs [libndr5] 2:4.21.2+dfsg-3

Versions of packages samba recommends:
ii attr 1:2.5.2-2
ii python3-samba 2:4.21.2+dfsg-3
ii samba-ad-dc 2:4.21.2+dfsg-3

Versions of packages samba suggests:
pn ctdb <none>
pn samba-vfs-ceph <none>
pn samba-vfs-glusterfs <none>
pn ufw <none>
ii winbind 2:4.21.2+dfsg-3

-- no debconf information

-- 
Saluti, Luca Pedrielli



More information about the Pkg-samba-maint mailing list