[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
Server, 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

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



More information about the Ubuntu-server-bugs mailing list