slyfox 17/08/12 16:21:44
Modified: nsswitch.conf
Log:
glibc: nsswitch.conf: add 'files' fallback for 'compat' entries, bug #627338
glibc-2.26 is deprecating end removing by default 'compat' nss module.
Gentoo's defaults before the change are:
passwd: compat
shadow: compat
group: compat
That means glibc-2.26 won't be able to resolve any local users.
This change adds 'files' module as a fallback.
Bug: https://bugs.gentoo.org/627338
Revision Changes Path
1.2 src/patchsets/glibc/extra/etc/nsswitch.conf
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf?r1=1.1&r2=1.2
Index: nsswitch.conf
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nsswitch.conf 29 Sep 2006 23:52:23 -0000 1.1
+++ nsswitch.conf 12 Aug 2017 16:21:44 -0000 1.2
@@ -1,13 +1,9 @@
# /etc/nsswitch.conf:
-# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v
1.1 2006/09/29 23:52:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v
1.2 2017/08/12 16:21:44 slyfox Exp $
-passwd: compat
-shadow: compat
-group: compat
-
-# passwd: db files nis
-# shadow: db files nis
-# group: db files nis
+passwd: compat files
+shadow: compat files
+group: compat files
hosts: files dns
networks: files dns