[Bug 1797721] Re: package winbind 2:4.3.11+dfsg-0ubuntu0.16.04.17 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon Oct 15 13:21:23 UTC 2018


Thanks for filing this bug in Ubuntu.

The winbind service logged this error:
Job for winbind.service failed because the control process exited with error code. See "systemctl status winbind.service" and "journalctl -xe" for details.
invoke-rc.d: initscript winbind, action "start" failed.
● winbind.service - LSB: start Winbind daemon
   Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-10-13 18:35:27 BST; 20ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 9353 ExecStart=/etc/init.d/winbind start (code=exited, status=1/FAILURE)

Oct 13 18:35:23 Pinky winbind[9353]: Failed to create /var/log/samba/cores ...00
Oct 13 18:35:23 Pinky winbind[9353]: Unable to setup corepath for winbindd:...ss
Oct 13 18:35:23 Pinky winbind[9353]: invalid permissions on directory '/var...00
Oct 13 18:35:23 Pinky winbind[9353]: Failed to create /var/log/samba/cores ...00
Oct 13 18:35:23 Pinky winbind[9353]: Unable to setup corepath for winbindd:...ss
Oct 13 18:35:27 Pinky winbind[9353]:    ...fail!
Oct 13 18:35:27 Pinky systemd[1]: winbind.service: Control process exited, ...=1
Oct 13 18:35:27 Pinky systemd[1]: Failed to start LSB: start Winbind daemon.
Oct 13 18:35:27 Pinky systemd[1]: winbind.service: Unit entered failed state.
Oct 13 18:35:27 Pinky systemd[1]: winbind.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package winbind (--configure):
 subprocess installed post-installation script returned error exit status 1

Unfortunately the messages are truncated, but it seems that you have
incorrect permissions set in /var/log/samba. The full error can be
displayed by running "sudo systemctl status winbind", or by inspecting
/var/log/samba/log*.


The /var/log/samba directory structure should look like this:
    35114      9 drwxr-x---   3 root     adm             8 Jul 11 18:52 /var/log/samba/
    36687      1 drwx------   4 root     root            4 Jul 11 18:44 /var/log/samba/cores
    36688      1 drwx------   2 root     root            2 Jul 11 18:44 /var/log/samba/cores/smbd
    36698      1 drwx------   2 root     root            2 Jul 11 18:44 /var/log/samba/cores/nmbd


** Changed in: samba (Ubuntu)
       Status: New => 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/1797721

Title:
  package winbind 2:4.3.11+dfsg-0ubuntu0.16.04.17 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  Software Updater used to work perfectly but now it fails with the message in the summary.
  When Software Updater informs me there are updates I now use 'Ubuntu Software' to do them as it completes without failing.
  Can I remove Samba and all its components and reinstall it?
  I have an NTFS partition which I can still read from Ubuntu.

  I am using Ubuntu 16.04.5 LTS.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: winbind 2:4.3.11+dfsg-0ubuntu0.16.04.17
  ProcVersionSignature: Ubuntu 4.4.0-137.163-generic 4.4.144
  Uname: Linux 4.4.0-137-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: i386
  Date: Sat Oct 13 18:35:27 2018
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  RelatedPackageVersions:
   nautilus 1:3.18.4.is.3.14.3-0ubuntu6
   gvfs     1.28.2-1ubuntu1~16.04.2
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package winbind 2:4.3.11+dfsg-0ubuntu0.16.04.17 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to xenial on 2017-12-25 (292 days ago)

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



More information about the foundations-bugs mailing list