[Bug 1787210] Re: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1

 Christian Ehrhardt  1787210 at bugs.launchpad.net
Mon Aug 20 06:25:20 UTC 2018


Hi Joe,
the initial bug contains no journal log or systemctl status of the failing service after install.
On the initial report per TerminalLog it seems smb itself failed:

Aug 15 09:11:35 Thinkpad smbd[17311]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Aug 15 09:11:37 Thinkpad systemd[1]: smbd.service: Failed with result 'timeout


This is odd to me, it first reports to be started and happy, to then fail with a timeout.

The latter update in comment #3 with the failing samba-ad-dc.service
seems to be the service that fails after downgrade right?


I've so far seen this particular issue on e.g. [1], but other than retrying there was nothing there that could be reused here.

@Andreas - do you have a better samba-idea what to look for?

@Joe - is this reproducible? If so can you after upgrade show the
"systemctl status" of the failed smbd service and also add the
"journalctl -xe" output including other things happening around that
time?

[1]:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1677329/comments/21

** Changed in: samba (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1787210

Title:
  package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to
  install/upgrade: installed samba package post-installation script
  subprocess returned error exit status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  Yesterday I upgraded to 18.4 from 16.4 (? can't find version info).
  Today I got notification of an available update which I engaged. The
  error occurred during the upgrade operation.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2
  ProcVersionSignature: Ubuntu 4.15.0-30.32-generic 4.15.18
  Uname: Linux 4.15.0-30-generic x86_64
  NonfreeKernelModules: kpatch_livepatch_Ubuntu_4_15_0_30_32_generic_42
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Wed Aug 15 09:11:40 2018
  ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2015-08-19 (1091 days ago)
  InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   nautilus 1:3.26.3-0ubuntu4
   gvfs     1.36.1-0ubuntu1.1
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to bionic on 2018-08-14 (0 days ago)

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



More information about the foundations-bugs mailing list