On Fri, Jul 05, 2019 at 04:02:36PM +0300, Reco wrote: > On Fri, Jul 05, 2019 at 08:41:47AM -0400, Greg Wooledge wrote: > > Gene, /etc/nsswitch.conf is NOT part of any Debian package. > > Actually, nsswitch.conf is created by postinst script of libc-bin > package, to technically nsswitch.conf is a part of libc-bin.
Even if it's created by libc-bin's postinst, it still wouldn't be removed when libc-bin is (hypothetically) purged, because it's not a registered conffile of that package. Of course, one should NOT purge libc-bin. wooledg:~$ dpkg -s libc-bin Package: libc-bin Essential: yes [...] Conffiles: /etc/bindresvport.blacklist 4c09213317e4e3dd3c71d74404e503c5 /etc/default/nss d6d5d6f621fb3ead2548076ce81e309c /etc/gai.conf 28fa76ff5a9e0566eaa1e11f1ce51f09 /etc/ld.so.conf 4317c6de8564b68d628c21efa96b37e4 /etc/ld.so.conf.d/libc.conf d4d833fd095fb7b90e1bb4a547f16de6 [...] Whatever Gene did, it's absolutely not normal or desirable for nsswitch.conf to vanish. I still think he deleted it by hand and then forgot the exact sequence of steps which led to its disappearance, so he simply blamed it on purging ahavi-daemon.