samba does not install cleanly on machine with no IPv4 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Andreas Hasenack |
Bug Description
When installing the samba package:
invoke-rc.d: initscript nmbd, action "start" failed.
● nmbd.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/
Active: failed (Result: timeout) since Sat 2020-02-22 18:47:14 EST; 7ms ago
Docs: man:nmbd(8)
Process: 22714 ExecStart=
Main PID: 22714 (code=killed, signal=TERM)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
Feb 22 18:45:44 athens systemd[1]: Starting Samba NMB Daemon...
Feb 22 18:47:14 athens systemd[1]: nmbd.service: Start operation timed out. Terminating.
Feb 22 18:47:14 athens systemd[1]: nmbd.service: Failed with result 'timeout'.
Feb 22 18:47:14 athens systemd[1]: Failed to start Samba NMB Daemon.
Workaround is to disable the nmbd service then 'apt -f install' to complete the installation.
Suggest not enabling nmbd by default as most modern workloads do not require it. Otherwise preinst may need to perform the check for IPv4 addresses and do the disable.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: samba 2:4.7.6+
ProcVersionSign
Uname: Linux 4.15.0-88-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.11
Architecture: amd64
BothFailedConnect: Yes
Date: Sat Feb 22 18:51:57 2020
InstallationDate: Installed on 2015-08-29 (1638 days ago)
InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Release amd64 (20150422)
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SambaServerRegr
SmbConfIncluded: No
SourcePackage: samba
TestparmExitCode: 0
UpgradeStatus: Upgraded to bionic on 2018-08-14 (557 days ago)
Hi Kevin,
I think I have heard Andreas talk about that and he has a great samba subject matter expertise so I assigned him for now to chime in here.