[Bug 1710634] Re: Incorrect directory for (lib)krb5 plugins
Bug Watch Updater
1710634 at bugs.launchpad.net
Thu Oct 26 00:19:26 UTC 2017
** Changed in: krb5 (Debian)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1710634
Title:
Incorrect directory for (lib)krb5 plugins
Status in krb5 package in Ubuntu:
Triaged
Status in krb5 package in Debian:
Fix Released
Bug description:
The libkrb5-3 package built from the krb5 source hints at a (lib)krb5
plugin directory like this:
debian/libkrb5-3.dirs.in:usr/lib/${DEB_HOST_MULTIARCH}/krb5/plugins/krb5
debian/libkrb5-3.lintian-overrides:libkrb5-3:
package-contains-empty-directory */plugins/krb5/
The correct (lib)krb5 plugins directory, however, is:
/usr/lib/${DEB_HOST_MULTIARCH}/krb5/plugins/libkrb5
This can be verified in the krb5 source:
$ grep plugins/libkrb5 -r src
src/lib/krb5/os/locate_kdc.c: LIBDIR
"/krb5/plugins/libkrb5",
src/lib/krb5/os/locate_kdc.c:static const char *objdirs[] = { LIBDIR
"/krb5/plugins/libkrb5", NULL };
As well as in the built library:
$ strings /usr/lib/x86_64-linux-gnu/libkrb5.so.3|grep plugins
/usr/lib/x86_64-linux-gnu/krb5/plugins/authdata
/usr/lib/x86_64-linux-gnu/krb5/plugins
plugins
/usr/lib/x86_64-linux-gnu/krb5/plugins/libkrb5
This also briefly introduced a bug in the ubuntu and debian sssd packages,
which assumed .../plugins/krb5 was the correct path:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1664566
In debian it was fixed in commit e6c4e91473e75f0ddc917a24f4d561fab9900939:
commit e6c4e91473e75f0ddc917a24f4d561fab9900939
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Fri Feb 17 11:22:12 2017 +0200
rules, common.install: Fix sssd_krb5_locator_plugin install path. (LP:
#1664566)
There is no immediate impact to the libkrb5-3 package itself, since MIT
kerberos does not ship any libkrb5 plugin at the moment and it is an empty
directory. It should be fixed, though, to avoid inducing similar bugs in
the future.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1710634/+subscriptions
More information about the foundations-bugs
mailing list