Winbind failing to start leads to postinst erroring out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 16.04 just works: Winbind was a smooth experience. We install `winbind`, `libnss-winbind`, and `libpam-winbind` using APT successfully, join the Domain/Realm, and start winbind with systemd!
Ubuntu 18.04 is regression: The `winbind` package breaks APT/DPGK package manager because `/var/lib/
I need package-manager (apt/dpkg) to handle packages, and service-manager (systemd/upstart) to manage services. Can the winbind package maintainer do anything to reverse the regression?
I have been reading up on debhelper but cannot find a way to prevent breaking apt.
```
~$ dpkg-query --list | grep winbind
iU libnss-
iU libpam-
ii libwbclient0:amd64 2:4.7.6+
iF winbind 2:4.7.6+
... trace ...
Active: failed (Result: exit-code) since Sun 2019-03-03 11:30:11 MST; 19ms ago
Docs: man:winbindd(8)
Process: 43699 ExecStart=
Main PID: 43699 (code=exited, status=1/FAILURE)
Mar 03 11:30:11 myhost1 systemd[1]: Starting Samba Winbind Daemon...
Mar 03 11:30:11 myhost1 winbindd[43699]: [2019/03/03 11:30:11.597251, 0] ../source3/
Mar 03 11:30:11 myhost1 winbindd[43699]: initialize_
Mar 03 11:30:11 myhost1 winbindd[43699]: [2019/03/03 11:30:11.600710, 0] ../source3/
Mar 03 11:30:11 myhost1 winbindd[43699]: Could not fetch our SID - did we join?
Mar 03 11:30:11 myhost1 winbindd[43699]: [2019/03/03 11:30:11.600854, 0] ../source3/
Mar 03 11:30:11 myhost1 winbindd[43699]: unable to initialize domain list
Mar 03 11:30:11 myhost1 systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
Mar 03 11:30:11 myhost1 systemd[1]: winbind.service: Failed with result 'exit-code'.
Mar 03 11:30:11 myhost1 systemd[1]: Failed to start Samba Winbind Daemon.
dpkg: error processing package winbind (--configure):
installed winbind package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of libpam-
libpam-
Package winbind is not configured yet.
dpkg: error processing package libpam-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-
libnss-
Package winbind is not configured yet.
dpkg: error processing package libnss-
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
winbind
libpam-
libnss-
```
affects: | ubuntu-packaging-guide → samba (Ubuntu) |
I retested on Ubuntu 16.04 (Samba/Winbind packages/services, Join Domain/Realm, start winbind) and works fine there.