Please raise Suggests for lib{pam,nss}-winbind to Recommends in trusty
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | samba (Ubuntu) |
Medium
|
Unassigned | ||
| | Trusty |
Medium
|
Brian Murray | ||
Bug Description
Test Case
---------
In a precise system install samba and libpam-winbind
Upgrade to trusty
Observe that libnss-winbind is not installed
With the version of the package from -proposed, after the upgrade libnss-winbind will be install on the system.
-------
The Debian packaging of Samba demoted the Recommends relationships to libpam-winbind and libnss-winbind to Suggests after one Debian release:
samba (2:3.6.15-1) unstable; urgency=high
* Team upload.
* New upstream bugfix release. Closes: #707042
* Update VCS URL's for new git repo.
* The recommends for the separate libnss-winbind and libpam-winbind
packages needed for the upgrade of winbind from squeeze to wheezy are no
longer needed. Lowering them to suggests.
Closes: #706434, #674853
-- Ivo De Decker <email address hidden> Thu, 09 May 2013 11:55:03 +0200
Unfortunately this isn't enough for the Ubuntu LTS cycle. libpam-winbind was a separate package in Precise, but libnss-winbind wasn't, and the release-upgrader therefore doesn't know to install it. Can those relationships be restored to Recommends in trusty-updates? (This delta doesn't need to be kept past Trusty.)
We upgraded a server from Precise to Trusty this weekend and it was really confusing to track down why nobody could log in any more. I know it's been a while since the Trusty release, but given that Precise is around for two more years, I strongly suspect we're not the last people to upgrade a winbind-using Precise machine, and configuring samba correctly is confusing enough as it is. :)
| Changed in samba (Ubuntu): | |
| importance: | Undecided → Medium |
| James Page (james-page) wrote : | #1 |
| Changed in samba (Ubuntu): | |
| status: | New → Confirmed |
| status: | Confirmed → Triaged |
| tags: | added: trusty |
| Changed in samba (Ubuntu Trusty): | |
| milestone: | none → ubuntu-14.04.2 |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| Brian Murray (brian-murray) wrote : | #2 |
I've uploaded this to the Trusty -proposed queue for review by the SRU team.
| Changed in samba (Ubuntu Trusty): | |
| status: | Triaged → In Progress |
| assignee: | nobody → Brian Murray (brian-murray) |
| Brian Murray (brian-murray) wrote : | #3 |
Could you add a test to the bug report to aid in SRU verification? Thanks!
Hello Geoffrey, or anyone else affected,
Accepted samba into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in samba (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Brian Murray (brian-murray) wrote : | #5 |
Here's a portion of the output of an upgrade from Precise to Trusty where libnss-winbind wasn't installed.
Setting up samba (2:4.1.
Installing new version of config file /etc/logrotate.
update-
update-
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: smbd
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: nmbd
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: samba-ad-dc
Removing obsolete conffile /etc/network/
Setting up winbind (2:4.1.
Installing new version of config file /etc/init.d/winbind ...
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: winbind
Setting up libpam-
Setting up libstdc++6-4.6-dev (4.6.4-6ubuntu2) ...
Setting up perl (5.18.2-2ubuntu1) ...
Setting up libalgorithm-
Setting up libalgorithm-
Setting up libarchive-
Setting up liblog-
Setting up libmodule-
Setting up libpod-latex-perl (0.61-1) ...
Setting up libterm-ui-perl (0.42-1) ...
Setting up libtext-
Setting up libtimedate-perl (2.3000-1) ...
Setting up libdpkg-perl (1.17.5ubuntu5.3) ...
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfile-
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
(precise-
-bash: ap-tcache: command not found
(precise-
libnss-winbind:
Installed: (none)
Candidate: 2:4.1.6+
Version table:
2:
500 http://
500 http://
2:
500 http://
| description: | updated |
| tags: | added: dist-upgrade packaging |
| Dave Chiluk (chiluk) wrote : | #6 |
I just went through the exercise of attempting to validate this issue.
from an ubuntu-cloud-image, I enabled proposed. I installed samba and libpam-winbind. Then ran do-release-upgrade.
Unfortunately even though samba 2:4.1.6+
@bdmurray if you think I did my test correctly please feel free to reject the verification. You might have to go back to the drawing board.
| Brian Murray (brian-murray) wrote : | #7 |
Here's a portion of the calculated upgrade from precise to trusty with -proposed enabled.
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 26.2 MB in 3s (7102 kB/s)
Reading package lists... Done
(precise-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
attr cpp-4.8 g++-4.8 gcc-4.8 gcc-4.8-base gcc-4.9-base iproute2 isc-dhcp-client isc-dhcp-common kmod libaio1 libapt-inst1.5
libarchive-
libfakeroot libfile-
liblog-
libpython2.
libterm-ui-perl libtevent0 libtext-
python-ntdb python-samba python-talloc python-tdb samba-dsdb-modules samba-libs samba-vfs-modules
The following packages will be upgraded:
adduser advancecomp apt apt-utils base-files base-passwd bash binutils bsdutils build-essential busybox-initramfs bzip2 coreutils cpio cpp
cpp-4.6 cron dash debconf debianutils diffutils dpkg dpkg-dev e2fslibs e2fsprogs fakeroot findutils g++ g++-4.6 gcc gcc-4.6 gcc-4.6-base gnupg
gpgv grep gzip hostname ifupdown initramfs-tools initramfs-tools-bin initscripts insserv iproute klibc-utils krb5-locales libacl1
libalgorithm-
libavahi-common3 libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap2 libclass-isa-perl libcomerr2 libcups2 libdb5.1 libdbus-1-3
libdpkg-perl libdrm-intel1 libdrm-radeon1 libdrm2 libelf1 libexpat1 libffi6 libgcc1 libgcrypt11 libgdbm3 libglib2.0-0 libgmp10 libgnutls26
libgomp1 libgpg-error0 libgpm2 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-
libhx509-
liblzma5 libmount1 libmpfr4 libncurses5 libncursesw5 libnih-dbus1 libnih1 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime
libpam-winbind libpam0g libpciaccess0 libpcre3 libplymouth2 libpng12-0 libpopt0 libpython2.7 libquadmath0 libreadline6 libroken18-heimdal
libsasl2-2 libsasl2-modules libselinux1 libslang2 libsqlite3-0 libss2 libssl1.0.0 libstdc++6 libstdc++6-4.6-dev libtalloc2 libtdb1
libtimedate-perl libtinfo5 libusb-0.1-4 libuuid1 libwbclient0 libwind0-heimdal linux-libc-de...
| Dave Chiluk (chiluk) wrote : | #8 |
I did the test one more time, and it worked. I'm not sure what I did wrong the first time. Anyhow, consider this verified.
| tags: |
added: verification-done-trusty removed: verification-needed |
| Dave Chiluk (chiluk) wrote : | #9 |
Here's the relavant part of /var/log/
MarkInstall libpam-winbind [ amd64 ] < 2:3.6.3-2ubuntu2.11 -> 2:4.1.6+
Installing samba-libs as Depends of libpam-winbind
MarkInstall samba-libs [ amd64 ] < none -> 2:4.1.6+
Installing libldb1 as Depends of samba-libs
MarkInstall libldb1 [ amd64 ] < none -> 1:1.1.16-1 > ( libs ) FU=0
Installing libtevent0 as Depends of libldb1
MarkInstall libtevent0 [ amd64 ] < none -> 0.9.19-1 > ( libs ) FU=0
Installing libntdb1 as Depends of samba-libs
MarkInstall libntdb1 [ amd64 ] < none -> 1.0-2ubuntu1 > ( libs ) FU=0
Installing python-talloc as Depends of samba-libs
MarkInstall python-talloc [ amd64 ] < none -> 2.1.0-1 > ( python ) FU=0
new important dependency: libnss-
Installing libnss-winbind as Recommends of libpam-winbind
MarkInstall libnss-winbind [ amd64 ] < none -> 2:4.1.6+
| Launchpad Janitor (janitor) wrote : | #10 |
This bug was fixed in the package samba - 2:4.1.6+
---------------
samba (2:4.1.
* Restore recommends for the separate libnss-winbind and libpam-winbind
packages needed for upgrades of winbind from Precise to Trusty.
(LP: #1412909)
-- Brian Murray <email address hidden> Wed, 28 Jan 2015 15:24:47 -0800
| Changed in samba (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Adam Conrad (adconrad) wrote : Update Released | #11 |
The verification of the Stable Release Update for samba has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Changed in samba (Ubuntu): | |
| status: | Triaged → Invalid |
| Arno Versfeld (arno-versfeld) wrote : | #12 |
I've been trying to install samba and I get the following in my terminal:
root@arno-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
bind9 bind9utils ldb-tools ntp smbldap-tools winbind
The following NEW packages will be installed:
samba
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 0 B/837 kB of archives.
After this operation, 11.4 MB of additional disk space will be used.
Selecting previously unselected package samba.
(Reading database ... 456184 files and directories currently installed.)
Preparing to unpack .../samba_
Unpacking samba (2:4.1.
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up samba (2:4.1.
initctl: Unknown job: smbd
initctl: Unknown job: nmbd
initctl: Unknown job: samba-ad-dc
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
root@arno-
Under /usr/share/samba there is only a setup folder created which has the following in it:
root@arno-
total 440
drwxr-xr-x 4 root root 4096 Apr 28 21:56 .
drwxr-xr-x 3 root root 4096 Apr 28 21:56 ..
drwxr-xr-x 2 root root 4096 Apr 28 21:56 ad-schema
-rw-r--r-- 1 root root 122 Jun 13 2013 aggregate_
-rw-r--r-- 1 root root 292 Jun 13 2013 cn=replicator.ldif
-rw-r--r-- 1 root root 295 Jun 13 2013 cn=samba-admin.ldif
-rw-r--r-- 1 root root 290 Jun 13 2013 cn=samba.ldif
-rw-r--r-- 1 root root 423 Jun 13 2013 DB_CONFIG
drwxr-xr-x 2 root root 4096 Apr 28 21:56 display-specifiers
-rw-r--r-- 1 root root 2270 Jun 13 2013 dns_update_list
-rw-r--r-- 1 root root 491 Jun 13 2013 fedorads-dna.ldif
-rw-r--r-- 1 root root 170 Jun 13 2013 fedorads-index.ldif
-rw-r--r-- 1 root root 1206 Jun 13 2013 fedorads.inf
-rw-r--r-- 1 root root 1004 Jun 13 2013 fedora-ds-init.ldif
-rw-r--r-- 1 root root 251 Jun 13 2013 fedorads-
-rw-r--r-- 1 root root 69 Jun 13 2013 fedorads-pam.ldif
-rw-r--r-- 1 root root 1095 Jun 13 2013 fedorads-
-rw-r--r-- 1 root root 167 Jun 13 2013 fedorads-
-rw-r--r-- 1 root root 452 Jun 13 2013 fedorads-
-rw-r--r-- 1 root root 386 Jun 13 2013 fedorads-samba.ldif
-rw-r--r-- 1 root root 593 Jun 13 2013 fedorads-sasl.ldif
-rw-r--r-- 1 root root 121 Jun 13 2013 idmap_init.ldif
-rw-r--r-- 1 root root 89 Jun 13 2013 krb5.conf
-rw-r--r-- 1 root root 220 Jun 13 2013 memberof.conf
-rw-r--r-- 1 root root 37 Jun 13 2013 mmr_serverids.conf
-rw-r--r-- 1 root root 246 Jun 13 2013 mmr_syncrepl.conf
-rw-r--r-- 1 root root 50 Jun 13 2013 modules.conf
-rw-r--r-- 1 root root 1156 Jun 13 2013 named.conf
-rw-r--r-- 1 root root 519 Jun 13 2013 named.conf.dlz
-rw-r--r-- 1 root root 100 Jun 13 2013 named.conf.update
-rw-r--r-- 1 root root 2152 Jun 13 2013 named.txt
-rw-r--r-- 1 root root 33 Jun 13 2013 olc_mmr.conf
-rw-r--r-- 1 root r...


Confirmed; the timings of the releases make sense that this is a problem for precise->trusty upgraders.