2017-11-10 16:01:36 |
jesse garner |
bug |
|
|
added bug |
2017-11-13 18:08:28 |
Steve Beattie |
information type |
Private Security |
Public |
|
2017-11-13 18:10:09 |
Apport retracing service |
tags |
amd64 apport-package artful need-duplicate-check third-party-packages |
amd64 apport-package artful third-party-packages |
|
2017-11-13 18:10:10 |
Apport retracing service |
bug |
|
|
added subscriber Crash bug triagers for Ubuntu packages |
2017-11-13 18:32:17 |
Andreas Hasenack |
bug watch added |
|
https://bugzilla.samba.org/show_bug.cgi?id=13111 |
|
2017-11-13 18:32:32 |
Andreas Hasenack |
summary |
package samba 2:4.6.7+dfsg-1ubuntu3 [origin: Ubuntu] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 |
nmbd starts fine with no interfaces, but doesn't notify systemd that it started |
|
2017-11-13 18:32:37 |
Andreas Hasenack |
samba (Ubuntu): status |
New |
Triaged |
|
2017-11-13 18:32:47 |
Andreas Hasenack |
samba (Ubuntu): importance |
Undecided |
Low |
|
2017-11-13 18:33:01 |
Andreas Hasenack |
bug task added |
|
samba |
|
2017-11-13 18:34:51 |
Andreas Hasenack |
description |
na
ProblemType: Package
DistroRelease: Ubuntu Kylin 17.10
Package: samba 2:4.6.7+dfsg-1ubuntu3 [origin: Ubuntu]
ProcVersionSignature: Ubuntu 4.13.0-17.20-lowlatency 4.13.8
Uname: Linux 4.13.0-17-lowlatency x86_64
ApportVersion: 2.20.7-0ubuntu3.2
Architecture: amd64
Date: Fri Nov 10 09:51:44 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-10-19 (22 days ago)
InstallationMedia: Ubuntu-Studio 17.04 "Zesty Zapus" - Release amd64 (20170412)
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
RelatedPackageVersions:
nautilus 1:3.26.0-0ubuntu1
gvfs 1.34.1-1ubuntu1
SambaClientRegression: No
SourcePackage: samba
Title: package samba 2:4.6.7+dfsg-1ubuntu3 [origin: Ubuntu] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install) |
nmbd seems to start fine when there are no non-loopback interfaces up, and will loop indefinitely:
/* We only count IPv4, non-loopback interfaces here. */
while (iface_count_v4_nl() == 0) {
sleep(5);
load_interfaces();
}
It can happen that during boot there is really no interface available, because, for example, it's a desktop connected via wifi and the wireless connection is only established after the user logs in.
nmbd will happily start up and wait for an interface, but systemd is expecting a notification because the Type is set to notify:
$ cat packaging/systemd/nmb.service
[Unit]
Description=Samba NMB Daemon
After=syslog.target network.target
[Service]
Type=notify
(...)
So after about 1m30s without a notification from nmbd, systemd will just kill it:
Oct 30 14:25:51 artful-samba-init systemd[1]: nmbd.service: Supervising process 171 which is not our child. We'll most likely not notice when it exits.
...
Oct 30 14:27:21 artful-samba-init systemd[1]: nmbd.service: Start operation timed out. Terminating.
Oct 30 14:27:21 artful-samba-init systemd[1]: nmbd.service: Killing process 171 (nmbd) with signal SIGKILL.
Oct 30 14:27:21 artful-samba-init systemd[1]: nmbd.service: Killing process 171 (nmbd) with signal SIGKILL.
Oct 30 14:27:21 artful-samba-init systemd[1]: Failed to start Samba NMB Daemon.
Oct 30 14:27:21 artful-samba-init systemd[1]: nmbd.service: Unit entered failed state.
Oct 30 14:27:21 artful-samba-init systemd[1]: nmbd.service: Failed with result 'timeout'.
--- Original description ---
ProblemType: Package
DistroRelease: Ubuntu Kylin 17.10
Package: samba 2:4.6.7+dfsg-1ubuntu3 [origin: Ubuntu]
ProcVersionSignature: Ubuntu 4.13.0-17.20-lowlatency 4.13.8
Uname: Linux 4.13.0-17-lowlatency x86_64
ApportVersion: 2.20.7-0ubuntu3.2
Architecture: amd64
Date: Fri Nov 10 09:51:44 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-10-19 (22 days ago)
InstallationMedia: Ubuntu-Studio 17.04 "Zesty Zapus" - Release amd64 (20170412)
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
RelatedPackageVersions:
nautilus 1:3.26.0-0ubuntu1
gvfs 1.34.1-1ubuntu1
SambaClientRegression: No
SourcePackage: samba
Title: package samba 2:4.6.7+dfsg-1ubuntu3 [origin: Ubuntu] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2017-11-13 18:34:54 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2017-11-13 18:35:15 |
Andreas Hasenack |
samba (Ubuntu): importance |
Low |
Medium |
|
2018-02-09 22:55:01 |
James Seiters |
bug |
|
|
added subscriber James Seiters |
2018-09-27 15:35:34 |
Robie Basak |
tags |
amd64 apport-package artful third-party-packages |
amd64 apport-package artful third-party-packages triage |
|
2018-11-24 17:35:36 |
Richard Bradley Smith |
bug |
|
|
added subscriber Richard Bradley Smith |
2022-06-01 17:28:48 |
Andreas Hasenack |
tags |
amd64 apport-package artful third-party-packages triage |
amd64 apport-package artful network-online-ordering third-party-packages triage |
|
2022-06-01 17:36:45 |
Andreas Hasenack |
samba (Ubuntu): status |
Triaged |
Fix Released |
|