[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827095: base-files and libc-bin install different /etc/nsswitch.conf files



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?


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 4.6.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: