Package: libgssglue
Version: 0.3-1
Severity: serious
Tags: patch
Justification: FHS violation
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Hi Anibal,

Please find attached a patch to move libgssglue to /lib, fixing up the -dev
symlink, so that the library is guaranteed to be available for
/sbin/rpcbind at boot time.

Marking this bug as "serious" because it is an FHS violation which may cause
rpcbind to fail to start up in runlevel S due to /usr not being mounted yet.

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/libgssglue1.dirs'
--- debian/libgssglue1.dirs     2008-04-18 23:09:04 +0000
+++ debian/libgssglue1.dirs     2011-08-31 20:29:17 +0000
@@ -1,2 +1 @@
 etc
-usr/lib

=== modified file 'debian/libgssglue1.install'
--- debian/libgssglue1.install  2008-04-18 23:09:04 +0000
+++ debian/libgssglue1.install  2011-08-31 20:28:56 +0000
@@ -1,2 +1,2 @@
 debian/tmp/etc/gssapi_mech.conf
-debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/lib/lib*.so.* /lib

=== modified file 'debian/rules'
--- debian/rules        2011-06-17 11:39:23 +0000
+++ debian/rules        2011-08-31 20:43:12 +0000
@@ -49,6 +49,9 @@
 
        # Add here commands to install the package into debian/tmp
        $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+       for file in debian/tmp/usr/lib/*.so; do \
+               ln -sf /lib/$$(basename $$(readlink $$file)) $$file; \
+       done
 
        install -d debian/tmp/etc
        cp -p doc/gssapi_mech.conf debian/tmp/etc

Reply via email to