← Back to team overview

enterprise-support team mailing list archive

[Bug 1676792] [NEW] package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

 

Public bug reported:

Setting up samba (2:4.4.5+dfsg-2ubuntu5.4) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Job for nmbd.service failed because a timeout was exceeded.
See "systemctl status nmbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nmbd, action "start" failed.
● nmbd.service - Samba NMB Daemon
   Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Di 2017-03-28 11:12:01 CEST; 23ms ago
     Docs: man:nmbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 2319
   Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/nmbd.service

Mär 28 11:10:31 epsilon-2 systemd[1]: Starting Samba NMB Daemon...
Mär 28 11:10:31 epsilon-2 systemd[1]: nmbd.service: Supervising process 2319 which is not our child. We'll most likely not notice when it exits.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Start operation timed out. Terminating.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Killing process 2319 (nmbd) with signal SIGKILL.
Mär 28 11:12:01 epsilon-2 systemd[1]: Failed to start Samba NMB Daemon.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Unit entered failed state.
Mär 28 11:12:01 epsilon-2 systemd[1]: nmbd.service: Failed with result 'timeout'.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-3ubuntu2) ...
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: samba 2:4.4.5+dfsg-2ubuntu5.4
ProcVersionSignature: Ubuntu 4.8.0-41.44-generic 4.8.17
Uname: Linux 4.8.0-41-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Tue Mar 28 09:10:50 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-01-02 (450 days ago)
InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt  1.3.4
SambaClientRegression: Yes
SourcePackage: samba
Title: package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to yakkety on 2017-02-11 (44 days ago)
mtime.conffile..etc.init.smbd.conf: 2016-01-11T15:22:11.457379

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


** Tags: amd64 apport-package yakkety

-- 
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/1676792

Title:
  package samba 2:4.4.5+dfsg-2ubuntu5.4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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


Follow ups