Package: zlib Version: 1:1.2.3.4.dfsg-3 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu maverick ubuntu-patch
Hi Mark, The wpa_supplicant binary in /sbin, which is used to bring up connections to authenticated wireless networks, is linked against zlib; but the latter is shipped in /usr/lib rather than /lib, so may not be present at the time the network is being brought up by ifupdown. This will increasingly be a problem for Debian users as we move more towards event-based booting, since the system may try to bring up the network before, or in parallel to, mounting /usr; but even without event-based booting, this would make it impossible to have /usr as an NFS-mounted filesystem over an authenticated wireless network - which while a niche use case, ought to still be supported. The attached patch already applied to the Ubuntu version of the package is one way to address this. It would be nice if we could just set --libdir instead, but we only want to move the shared library to /lib, *not* the .so, .a, or pkg-config files, so this seems to be the simplest approach. Please consider applying it in Debian 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/ [email protected] [email protected]
diff -Nru zlib-1.2.3.4.dfsg/debian/rules zlib-1.2.3.4.dfsg/debian/rules --- zlib-1.2.3.4.dfsg/debian/rules 2009-12-28 11:07:40.000000000 -0800 +++ zlib-1.2.3.4.dfsg/debian/rules 2010-01-07 22:09:44.000000000 -0800 @@ -153,6 +153,9 @@ dh_installdirs $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install + install -d debian/tmp/lib + mv debian/tmp/usr/lib/libz.so.* debian/tmp/lib/ + ln -sf /lib/$$(readlink debian/tmp/usr/lib/libz.so) debian/tmp/usr/lib/libz.so install64: install build64-stamp $(MAKE) -C debian/64 prefix=$(CURDIR)/debian/tmp install diff -Nru zlib-1.2.3.4.dfsg/debian/zlib1g.dirs zlib-1.2.3.4.dfsg/debian/zlib1g.dirs --- zlib-1.2.3.4.dfsg/debian/zlib1g.dirs 2009-12-28 11:07:40.000000000 -0800 +++ zlib-1.2.3.4.dfsg/debian/zlib1g.dirs 2010-01-07 22:09:44.000000000 -0800 @@ -1 +1 @@ -usr/lib +lib diff -Nru zlib-1.2.3.4.dfsg/debian/zlib1g.install zlib-1.2.3.4.dfsg/debian/zlib1g.install --- zlib-1.2.3.4.dfsg/debian/zlib1g.install 2009-12-28 11:07:40.000000000 -0800 +++ zlib-1.2.3.4.dfsg/debian/zlib1g.install 2010-01-07 22:09:44.000000000 -0800 @@ -1 +1 @@ -usr/lib/lib*.so.* +lib/lib*.so.* diff -Nru zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.dirs zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.dirs --- zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.dirs 2009-12-28 11:07:40.000000000 -0800 +++ zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.dirs 2010-01-07 22:09:44.000000000 -0800 @@ -1 +1 @@ -/usr/lib +lib diff -Nru zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.install zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.install --- zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.install 2009-12-28 11:07:40.000000000 -0800 +++ zlib-1.2.3.4.dfsg/debian/zlib1g-udeb.install 2010-01-07 22:09:44.000000000 -0800 @@ -1 +1 @@ -usr/lib/lib*.so.* +lib/lib*.so.*

