[Pkg-utopia-maintainers] Bug#712029: nss-mdns: removes itself from nsswitch if one of several instances is uninstalled

Simon McVittie smcv at debian.org
Wed Jun 12 09:58:51 UTC 2013


Package: libnss-mdns
Version: 0.10-4
Severity: normal
File: nss-mdns

(X-Debbugs-Cc to Joachim Breitner since he maintains a couple of other
NSS modules with similar arrangements - I haven't tested, but they
probably have this bug too.)

I've just uploaded the first multiarch version of libnss-mdns to
experimental. Unfortunately, there is a bug in its postrm:

1. install libnss-mdns:amd64
2. install libnss-mdns:i386
3. remove libnss-mdns:i386
4. remove libnss-mdns:amd64

Expected result: mdns4_minimal appears in nsswitch.conf after step 1
and disappears after step 4. Actual result: it disappears after step 3.

We should detect whether any other architectures' instances of nss-mdns
are installed, and if they are, keep the configuration. This apparently
used to break name resolution because libc would stop when it encountered
the missing module (see #479144, #430845) but I can't reproduce that now,
so perhaps something has been fixed in eglibc?

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnss-mdns:amd64 depends on:
ii  avahi-daemon       0.6.31-2
ii  base-files         7.2
ii  libc6              2.17-5
ii  multiarch-support  2.17-5

libnss-mdns:amd64 recommends no packages.

Versions of packages libnss-mdns:amd64 suggests:
ii  avahi-autoipd  0.6.31-2

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list