Package: libnss-mdns
Version: 0.8-6.1
Severity: important
Hi,
When upgrading libnss-mdns from testing (0.8.4-1) to unstable (0.8.6-1), the
postinst will change
nsswitch.conf to insert mdns stuff. Then, if I remove libnss-mdns, the changes
will remain in
nsswitch.conf. But, since the associated mdns lib is not available anymore,
most programs doing
DNS requests will fail.
libnss-mdns should revert the changes, probably during its prerm.
I don't make this bug RC because it does not affect libnss-mdns in testing.
Below is a copy of a session to reproduce the bug.
Thanks,
Brice
$ apt-cache policy libnss-mdns
libnss-mdns:
Installed: 0.8-4.1
Candidate: 0.8-4.1
Version table:
0.8-6.1 0
500 http://ftp.fr.debian.org unstable/main Packages
*** 0.8-4.1 0
990 http://ftp.fr.debian.org testing/main Packages
100 /var/lib/dpkg/status
$ apt-get install libnss-mdns/unstable
Reading package lists... Done
Building dependency tree... Done
Selected version 0.8-6.1 (Debian:unstable) for libnss-mdns
Suggested packages:
avahi-autoipd zeroconf
The following packages will be upgraded:
libnss-mdns
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.4kB of archives.
After unpacking 57.3kB disk space will be freed.
Get:1 http://ftp.fr.debian.org unstable/main libnss-mdns 0.8-6.1 [23.4kB]
Fetched 23.4kB in 0s (96.2kB/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of libnss-mdns (0.8-4.1 -> 0.8-6.1) <pending>
#405327 - libnss-mdns 0.8-6.1 breaks DNS if "search local" exists in
resolv.conf
Summary:
libnss-mdns(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
Reading changelogs... Done
(Reading database ... 121274 files and directories currently installed.)
Preparing to replace libnss-mdns 0.8-4.1 (using
.../libnss-mdns_0.8-6.1_i386.deb) ...
Unpacking replacement libnss-mdns ...
Setting up libnss-mdns (0.8-6.1) ...
Upgrade from unconfigured version detected.
Checking NSS setup...
At this point, /etc/nsswitch.conf contains mdns stuff and the machine seems to
work fine:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
$ sudo apt-get remove --purge libnss-mdns
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
libnss-mdns*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 143kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 121274 files and directories currently installed.)
Removing libnss-mdns ...
Purging configuration files for libnss-mdns ...
At this point, /etc/nsswitch.conf STILL contains mdns stuff, and the machine
gets problems:
$ sudo apt-get install libnss-mdns
Reading package lists... Done
Building dependency tree... Done
Recommended packages:
zeroconf
The following NEW packages will be installed:
libnss-mdns
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.1kB of archives.
After unpacking 201kB of additional disk space will be used.
Err http://ftp.fr.debian.org testing/main libnss-mdns 0.8-4.1
Could not resolve 'ftp.fr.debian.org'
Failed to fetch
http://ftp.fr.debian.org/debian/pool/main/n/nss-mdns/libnss-mdns_0.8-4.1_i386.deb
Could not resolve 'ftp.fr.debian.org'
Then I manually remove mdns things from /etc/nsswitch.conf and the machine
works fine again.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-rc4=topinambour
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]