Dug into this a bit further. Fedora packages both samba [0] and sssd [1] with scripts that use the update-alternatives '--install' action. The sssd wbclient library gets configured with a lower priority (5) compared to samba's (10). This gives samba's library preference when both packages are installed.
This solution provides a consistent install configuration regardless of package ordering. It also properly registers both package libraries as alternatives. The update-alternatives '--remove' action will only revert symlinks to installed alternatives. If an unregistered symlink exists prior to an '--install' action, it gets clobbered by the first '--install' action and can not be recovered. We could consider adopting a similar model, but it worth noting that fedora is packaging two different wbclient versions. With this commit [2] samba updated the wbclient interface to minor version 15. The upstream sssd wbclient library has not yet followed suit [3]. Their linking is setup as follows: /usr/lib64/libwbclient.so.0.14 -> /etc/alternatives/libwbclient.so.0.14-64 /usr/lib64/libwbclient.so.0.15 -> /etc/alternatives/libwbclient.so.0.15-64 With the generic names pointing to: /etc/alternatives/libwbclient.so.0.14-64 -> /usr/lib64/sssd/modules/libwbclient.so.0.14 /etc/alternatives/libwbclient.so.0.15-64 -> /usr/lib64/samba/wbclient/libwbclient.so.0.15 In bionic, the sssd and samba wbclient interface versions are identical (0.14), although implemented differently. There is a version mismatch present in eoan and focal. ubuntu@bionic-sssd:~$ apt-file search libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0.14.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0.14 ubuntu@eoan-sssd:~$ apt-file search libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0.14.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0.15 ubuntu@focal-sssd:~$ apt-file search libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0 libwbclient-sssd: /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0.14.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0 libwbclient0: /usr/lib/x86_64-linux-gnu/libwbclient.so.0.15 [0] https://src.fedoraproject.org/rpms/sssd/blob/master/f/sssd.spec#_1062 [1] https://src.fedoraproject.org/rpms/samba/blob/master/f/samba.spec#_1151 [2] https://github.com/samba-team/samba/commit/1834513ebe394f4e5111665a21df652e59b3b0b6#diff-0ac0c581f17b5fa5e558397e97fb574d [3] https://pagure.io/SSSD/sssd/blob/master/f/src/sss_client/libwbclient/wbclient_sssd.h#_81 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1844173 Title: libwbclient-sssd package installation does not re-create expected symlink to libwbclient.so.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1844173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs