← Back to team overview

enterprise-support team mailing list archive

[Bug 1864338] [NEW] samba does not install cleanly on machine with no IPv4 address

 

Public bug reported:

When installing the samba package:

invoke-rc.d: initscript nmbd, action "start" failed.
● nmbd.service - Samba NMB Daemon
   Loaded: loaded (/lib/systemd/system/nmbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Sat 2020-02-22 18:47:14 EST; 7ms ago
     Docs: man:nmbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 22714 ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS (code=killed, signal=TERM)
 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+dfsg~ubuntu-0ubuntu2.15
ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
Uname: Linux 4.15.0-88-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
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_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SambaServerRegression: No
SmbConfIncluded: No
SourcePackage: samba
TestparmExitCode: 0
UpgradeStatus: Upgraded to bionic on 2018-08-14 (557 days ago)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1864338

Title:
  samba does not install cleanly on machine with no IPv4 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1864338/+subscriptions