package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
While Update through "sudo apt-get upgrade"
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: samba 2:4.6.7+
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
Date: Wed Nov 22 01:03:27 2017
ErrorMessage: Unterprozess installiertes post-installati
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
TestparmExitCode: 0
Title: package samba 2:4.6.7+
UbuntuFailedCon
UpgradeStatus: Upgraded to artful on 2017-09-19 (63 days ago)
Thanks for filing this bug in Ubuntu.
You have configured your smb.conf so that the samba services use specific network addresses and interfaces:
[global]
bind interfaces only = Yes
interfaces = 192.168.10.0/8 192.168.20.0/8 eth0
The nmbd service failed to bind to an address in the 192.168.20.0/8 network (that's a weird block, btw: 192.168.10.0/8 and 192.168.20.0/8 are the same because of the /8 mask and mean 192.0.0.0/8):
bind failed on port 137 socket_addr = 192.168.20.0.
Failed to open nmb socket on interface 192.168.20.0 for port 137. Error was Die angeforderte Adresse kann nicht zugewiesen werden
STATUS=daemon failed to start: NMBD failed when creating subnet lists, error code 13
You should make sure that:
a) the CIDR is what you want: you are specifying 192.0.0.0/8 essentially
b) the listed interface exists when samba starts up: eth0
c) once you sorted out (a) above, also make sure that the network is available when samba starts
Please verify your configuration as per above and try again:
sudo apt update
sudo apt -f install
I'll leave this bug in the "incomplete" state until then.
Thanks!