[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FreeIPA Client: SSSD missing libraries



18.06.2022 00:52, Thorsten Glaser wrote:

On Fri, 17 Jun 2022, Hannes Eberhardt wrote:

# apt-file search libndr --filter-origin "Debian Backports"
samba-libs: /usr/lib/x86_64-linux-gnu/libndr.so.2

# apt-file search libndr --filter-origin "Debian"
samba-libs: /usr/lib/x86_64-linux-gnu/libndr.so.1

This looks like a policy violation in samba-libs. Either they
must provide shlibs/symbols files so the packages depending on
them get the versions right, or (more likely here) they must
add Breaks on versions linked against the older libraries.

How this would help here if we provided symbols file?  It definitely
would help if libndr.so.* were in its own package, but as long as it
is in samba-libs, I guess the only way forward here is to add Breaks
against every package which is linked against libndr. There aren't
many packages like that, though.

samba-libs in sid *does* contain a versioned Breaks against
sssd-ad-common… but only against version smaller than 2.3.0,
whereas bullseye has 2.4.1-2 already.

So this is definitely a bug in the package in sid (which you
should report this against), and the backported package will
be able to get the fix automatically once it migrates to
testing.

It also means that, if you have sssd-ad-common installed (or
one of its rdeps, sssd-ad and sssd-ipa), you CANNOT install
the Samba backport at all, period.

Do you mean here the case when we add "proper" Breaks in samba?
The backport stuff is the one I tried to avoid adding Breaks as
much as possible (not in this very case which I didn't know about).

Thanks,

/mjt


Reply to: