Public bug reported: [Environment] Ubuntu 18.04 amd64 sssd + libwbclient0 + libwblclient-sssd (any version)
[Issue] The libwbclient-sssd package provides a libwbclient.so.0.14.0 library which enables winbind queries (i.e. wbinfo) to use sssd as a framework. However, when libwbclient-sssd package is installed, the symlink to /usr/lib/x86_64-linux-gnu/libwbclient.so.0 is not recreated to point out to the /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0.14.0, thus not enabling such functionality until a manual procedure (re- symlinking) is made by the user. I have inspected both ealier (xenial) and latest (eoan) packages, and none of them contain postinst/postuninstall scripts that would create/remove the expected symlinks, respectively. It is unclear as of now it if *is* expected that the symlinks should be recreated by the user or else. There have been discussions [1] about this in the past, but they were closed with inconclusive comments. This bug is being opened to either have the packages' postinst/postuninstall scripts create/remove that symlink, or either to document the need of proceeding with such operation manually. [Impact] The use of features included in libwbclient-sssd's library are not usable until the symlink for libwbclient.so.0 is manually created. [Reproducer] Install sssd + winbind + dependencies. Check the symlink of /usr/lib/x86_64-linux-gnu/libwbclient.so.0 points out to the libwbclient.so.0.14 library: $ ll /usr/lib/x86_64-linux-gnu/libwbclient.so.0 lrwxrwxrwx 1 root root 19 May 23 12:06 /usr/lib/x86_64-linux-gnu/libwbclient.so.0 -> libwbclient.so.0.14 Install libwbclient-sssd. Check the symlink of /usr/lib/x86_64-linux-gnu/libwbclient.so.0 still points out to the libwbclient.so.0.14 library: $ ll /usr/lib/x86_64-linux-gnu/libwbclient.so.0 lrwxrwxrwx 1 root root 19 May 23 12:06 /usr/lib/x86_64-linux-gnu/libwbclient.so.0 -> libwbclient.so.0.14 [Workaround] Using update-alternatives (either with --config or --install, pointing out to the /usr/lib/x86_64-linux-gnu/sssd/modules/libwbclient.so.0.14.0 library, enables the use of wbinfo + sssd. Let me know if further information is needed to proceed. -- Thank you! [1] https://pagure.io/SSSD/sssd/issue/2845 ** Affects: sssd (Ubuntu) Importance: Undecided Status: New -- 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/sssd/+bug/1844173/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
