[Pkg-sssd-devel] Bug#1087029: sssd: dependencies not computed as tight as possible

Vincent Danjean vdanjean at debian.org
Fri Nov 8 11:17:39 GMT 2024


Package: sssd
Version: 2.9.5-3+b2
Severity: wishlist

  Hi,

  In a bookworm environment, I need to use a MIT-kerberos version of samba.
It means using the version in testing/unstable or using the backported
samba packages. Of course, I tried to use the backported version
(2:4.21.1+dfsg-2~bpo12+1).
  But, when trying to install it, apt tells me that (in backports)
samba-libs : Breaks: sssd-ad (< 2.9.4-1+b1)
and, of course, I need sssd-ad.

  So, I tried to backport sssd itself locally. It works easily
(I just needed to revert the 64-bit time_t patch).

  Then, I installed my local backport of sssd with the official
backport of samba. Packages installed with no problem. However,
sssd refused to restart. Looking into the logs, I found:
   *  (2024-11-07 16:57:22): [be[DOMAIN]] [dp_module_open_lib] (0x1000): Loading module [ad] with path [/usr/lib/x86_64-linux-gnu/sssd/libsss_ad.so]
   *  (2024-11-07 16:57:22): [be[DOMAIN]] [dp_module_open_lib] (0x0010): Unable to load module [ad] with path [/usr/lib/x86_64-linux-gnu/sssd/libsss_ad.so]: libndr.so.3: cannot open shared object file: No such file or directory

  I discovered that the libndr.so.3 is in the bookworm samba-libs package,
whereas the bookworm-backports samba-libs package contains libndr.so.5

  So, I rebuilt my local sssd backport forcing the use of the
backported samba (in particular the libsmbclient-dev build dependency).
And it works.


  My point is just to signal that dh_shlibs does not correctly
capture the dependency between sssd-ad and samba-libs.
I do not look for the root reason (sssd-ad is using plugins
instead for plain shared libs?, ...)

  Regards,
    Vincent


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

Kernel: Linux 6.11.6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sssd depends on:
ii  python3-sss  2.9.5-3+b2
ii  sssd-ad      2.9.5-3+b2
ii  sssd-common  2.9.5-3+b2
ii  sssd-ipa     2.9.5-3+b2
ii  sssd-krb5    2.9.5-3+b2
ii  sssd-ldap    2.9.5-3+b2
ii  sssd-proxy   2.9.5-3+b2

sssd recommends no packages.

sssd suggests no packages.

-- no debconf information



More information about the Pkg-sssd-devel mailing list