Package: libgssglue Version: 0.1-4 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch
Hi Anibal, After converting krb5 over for multiarch (as has been done in Ubuntu natty), rpc.gssd will fail because /etc/gssapi_mech.conf includes an absolute path pointing to a library that won't be there anymore. The attached patch addresses this by switching to a relative path for gssapi_krb5.so.2, which will work regardless of where on the system path the library is installed. This change has been uploaded to Ubuntu with the following changelog explanation: * debian/patches/01-370825-gssapi_mech.conf.patch: update for multiarch; look up our gssapi mechs using the default search path instead of an absolute path since the absolute path won't be the same on all archs (or the same before and after multiarch). Since multiarch is imminent in Debian, it would be good to have this uploaded there as well. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/patches/01-370825-gssapi_mech.conf.patch' --- debian/patches/01-370825-gssapi_mech.conf.patch 2009-06-06 17:55:22 +0000 +++ debian/patches/01-370825-gssapi_mech.conf.patch 2011-03-25 03:57:28 +0000 @@ -6,15 +6,18 @@ David Pashley <da...@davidpashley.com> +2011-03-24: amended to use a relative path for the mech, for compatibility +with multiarch paths. +Steve Langasek <steve.langa...@linaro.org> + --- a/doc/gssapi_mech.conf 2005-11-23 02:16:31.000000000 +1100 +++ b/doc/gssapi_mech.conf 2009-06-06 18:26:47.000000000 +1000 -@@ -15,7 +15,8 @@ +@@ -15,7 +15,7 @@ # library initialization function # ================================ ========================== # The MIT K5 gssapi library, use special function for initialization. -/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init -+#/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init -+/usr/lib/libgssapi_krb5.so.2 mechglue_internal_krb5_init ++libgssapi_krb5.so.2 mechglue_internal_krb5_init # # The SPKM3 gssapi library function. Use the function spkm3_gss_initialize. # /usr/local/gss_mechs/spkm/spkm3/libgssapi_spkm3.so spkm3_gss_initialize