Ubuntu Version:
24.04 LTS
Desktop Environment (if applicable): command line only
Problem Description:
Samba is running on my Ubuntu 24.04 server.
My configuration is set to:
interfaces = 127.0.0.0/8 lan0
bind interfaces only = yes
This is necessary because Samba should be only available on one of the two interfaces.
Until recently, everything worked without errors. However, recently it stopped working – if Samba is restarted during unattended upgrades, nmbd.service doesn’t start (message: “nmbd.service: start operation timed out. Terminating.”).
Systemctl status nmbd.service then shows, among other things:
Status: “nmbd: No local IPv4 non-loopback interfaces available, waiting for interface…”
This only happens during unattended upgrades – starting Samba at system startup or manually restarting nmbd works without any problems.
In addition to nmbd, kea-dhcp4-server sometimes fails to restart properly, too.
Does anyone have any idea what might be causing this and how to fix it?