[Pkg-samba-maint] Bug#1076196: samba-ad-dc: Samba AD-DC does not start due to missing files
Béla Becker
becker.bela at keglo.hu
Fri Jul 12 10:50:49 BST 2024
Package: samba-ad-dc
Version: 2:4.17.12+dfsg-0+deb12u1
Severity: normal
X-Debbugs-Cc: becker.bela at keglo.hu
Dear Maintainer,
The change due to #1051770 which moved crucial domain controller files
to the previously optional metapackage has caused our Samba domain
controller to fail to start. So far a minor inconvenience, one could
blame us for not having samba-ad-dc installed.
However, installing the samba-ad-dc package did no fix the problem,
because for some reason the older package from stable was selected
(samba-ad-dc 4.17) instead of the one in the backport repo. It is
necessary to specify the version to have APT install it.
To avoid existing systems breaking I would like to recommend either
setting a hard dependecy between versions of samba-ad-dc and samba to ensure
that the older samba-ad-dc (<= 4.19) metapackage is not installed alongside
the newer samba (>4.20) package, or reverting the change due to #1051770
The following command outputs show the issue: samba-ad-dc 4.20 is not
selected alongside samba even though it had since been installed.
root at dc-01-prod:~# apt-cache policy samba
samba:
Installed: 2:4.19.6+dfsg-3~bpo12+1
Candidate: 2:4.20.2+dfsg-2~bpo12+2
Version table:
2:4.20.2+dfsg-2~bpo12+2 100
100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
*** 2:4.19.6+dfsg-3~bpo12+1 100
100 /var/lib/dpkg/status
2:4.17.12+dfsg-0+deb12u1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
2:4.17.9+dfsg-0+deb12u3 500
500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
root at dc-01-prod:~# apt-cache policy samba samba-ad-dc
samba:
Installed: 2:4.19.6+dfsg-3~bpo12+1
Candidate: 2:4.20.2+dfsg-2~bpo12+2
Version table:
2:4.20.2+dfsg-2~bpo12+2 100
100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
*** 2:4.19.6+dfsg-3~bpo12+1 100
100 /var/lib/dpkg/status
2:4.17.12+dfsg-0+deb12u1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
2:4.17.9+dfsg-0+deb12u3 500
500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
samba-ad-dc:
Installed: 2:4.17.12+dfsg-0+deb12u1
Candidate: 2:4.17.12+dfsg-0+deb12u1
Version table:
2:4.20.2+dfsg-2~bpo12+2 100
100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
*** 2:4.17.12+dfsg-0+deb12u1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
100 /var/lib/dpkg/status
2:4.17.9+dfsg-0+deb12u3 500
500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
root at dc-01-prod:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
python3-anyio python3-click python3-colorama python3-dnspython python3-h11 python3-h2 python3-hpack python3-httpcore
python3-httpx python3-hyperframe python3-markdown-it python3-mdurl python3-requests-toolbelt python3-rfc3986 python3-rich
python3-sniffio
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
linux-image-6.1.0-22-amd64
The following packages will be upgraded:
base-files bash curl distro-info-data dns-root-data intel-microcode krb5-locales krb5-user libbluetooth3 libcurl3-gnutls
libcurl4 libfreetype6 libglib2.0-0 libglib2.0-data libgnutls30 libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit12
libkadm5srv-mit12 libkdb5-10 libkrb5-3 libkrb5support0 libldb2 libltdl7 libndp0 libnss-systemd libnss-winbind libpam-systemd
libpam-winbind libpq5 libpython3.11 libpython3.11-minimal libpython3.11-stdlib libseccomp2 libssl3 libsystemd-shared
libsystemd0 libudev1 libwbclient0 linux-image-amd64 nano openssh-client openssh-server openssh-sftp-server openssl postfix
postfix-pcre python3-idna python3-ldb python3-samba python3.11 python3.11-minimal qemu-guest-agent samba samba-ad-provision
samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules systemd systemd-sysv udev winbind wpasupplicant
66 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 121 MB of archives.
After this operation, 413 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
-- System Information:
Debian Release: 12.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages samba-ad-dc depends on:
ii samba 2:4.19.6+dfsg-3~bpo12+1
ii samba-dsdb-modules 2:4.19.6+dfsg-3~bpo12+1
ii samba-vfs-modules 2:4.19.6+dfsg-3~bpo12+1
ii winbind 2:4.19.6+dfsg-3~bpo12+1
Versions of packages samba-ad-dc recommends:
ii libnss-winbind 2:4.19.6+dfsg-3~bpo12+1
ii libpam-winbind 2:4.19.6+dfsg-3~bpo12+1
ii samba-ad-provision 2:4.19.6+dfsg-3~bpo12+1
samba-ad-dc suggests no packages.
-- no debconf information
More information about the Pkg-samba-maint
mailing list