On Sun, 12 Jun 2016, Sven Joachim wrote: > Package: base-files,libc-bin > > Both base-files and libc-bin install the /etc/nsswitch.conf file. > Although it has been agreed in #673271 that libc-bin should take over > responsibility for it, base-files still installs and updates it. > Moreover, in response for #699090 base-files has updated its copy, and > now it differs from libc-bin's version: > > ,---- > | diff -u /usr/share/base-files/nsswitch.conf > /usr/share/libc-bin/nsswitch.conf > | --- /usr/share/base-files/nsswitch.conf 2014-05-04 14:38:37.000000000 +0200 > | +++ /usr/share/libc-bin/nsswitch.conf 2016-03-21 00:45:12.000000000 +0100 > | @@ -7,7 +7,6 @@ > | passwd: compat > | group: compat > | shadow: compat > | -gshadow: files > | > | hosts: files dns > | networks: file > `---- > > The net effect is apparently that the content of /etc/nsswitch.conf in > fresh installations depends on whether libc-bin or base-files is > configured first, which is bad. Could you please work out who should be > responsible for that file?
Thanks a lot for the report. You are absolutely right. Yes, the file should not be in both places, but on the other hand, we might better have them in sync before I remove it from base-files. I see that the file has moved to libc-bin, but there was some simple code in postinst to update to the current default. I'm going to see if I can create a simple patch for libc-bin to do the same. Thanks.