Package: nss-mdns
Severity: wishlist
Tags: patch

        Hi,

 I have uploaded a 0.9-0.2 NMU to switch the prefix to / and install the
 libraries into /lib instead of /usr/lib.  This is important both for
 chrooted daemons such as Postfix which are copying /lib/libnss* to the
 chroot and for mdns resolver support during the boot process (where
 /usr isn't available) e.g. to mount /usr from a NFS share resolved over
 mdns.

 I've uploaded the NMU to DELAYED/2: please ping me if you want me to
 cancel this upload or simply upload a fixed package.

   Bye,

PS: not closing the RC bug and not waiting for the BTS acks / timeouts
due to bugs.d.o being down

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-- 
Loïc Minier <[EMAIL PROTECTED]>
--- nss-mdns-0.9/debian/rules
+++ nss-mdns-0.9/debian/rules
@@ -27,7 +27,7 @@
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=\${prefix}/lib/nss-mdns CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-legacy
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib/nss-mdns CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-legacy
 
 
 build: build-stamp
--- nss-mdns-0.9/debian/changelog
+++ nss-mdns-0.9/debian/changelog
@@ -1,3 +1,16 @@
+nss-mdns (0.9-0.2) unstable; urgency=high
+
+  * Non-maintainer upload to fix a RC bug.
+  * Configure with a prefix of / instead of /usr as libnss-mdns needs to be in
+    /lib for the resolver to work correctly during boot; this is also needed
+    for chrooted processes such as Postfix's smtpd which uses a copy of the
+    NSS libs as well of the NSS configuration and fails when mdns is missing
+    in the chroot but referenced in nsswitch.conf.  Update other configured
+    dirs (mandir, infodir, sysconfdir) as well, but these are currently not
+    used.
+
+ -- Loic Minier <[EMAIL PROTECTED]>  Thu, 22 Feb 2007 14:48:45 +0100
+
 nss-mdns (0.9-0.1) unstable; urgency=high
 
   * Non-maintainer upload to fix broken dependencies in the 0.8-6.1 NMU.

Reply via email to