diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-12 16:21:44 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-12 16:21:44 +0000 |
commit | dbb79b033cdadd6041372257ee61436ae2aba039 (patch) | |
tree | c07795b7ee140da2b526204ddb57e25ca495c309 | |
parent | disable ldconfig run in 9999 patchset (diff) | |
download | gentoo-dbb79b033cdadd6041372257ee61436ae2aba039.tar.gz gentoo-dbb79b033cdadd6041372257ee61436ae2aba039.tar.bz2 gentoo-dbb79b033cdadd6041372257ee61436ae2aba039.zip |
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
-rw-r--r-- | src/patchsets/glibc/2.24/README.history | 3 | ||||
-rw-r--r-- | src/patchsets/glibc/2.25/README.history | 3 | ||||
-rw-r--r-- | src/patchsets/glibc/9999/README.history | 4 | ||||
-rw-r--r-- | src/patchsets/glibc/extra/etc/nsswitch.conf | 12 |
4 files changed, 14 insertions, 8 deletions
diff --git a/src/patchsets/glibc/2.24/README.history b/src/patchsets/glibc/2.24/README.history index 18db9f34c9..16169fc034 100644 --- a/src/patchsets/glibc/2.24/README.history +++ b/src/patchsets/glibc/2.24/README.history @@ -1,3 +1,6 @@ +9 [pending] + U extra/etc/nsswitch.conf + 8 15 June 2017 + 00_all_0049-rtld-Completely-ignore-LD_LIBRARY_PATH-for-AT_SECURE.patch + 00_all_0050-rtld-Reject-overly-long-LD_AUDIT-path-elements.patch diff --git a/src/patchsets/glibc/2.25/README.history b/src/patchsets/glibc/2.25/README.history index eb189f144f..5824f59f19 100644 --- a/src/patchsets/glibc/2.25/README.history +++ b/src/patchsets/glibc/2.25/README.history @@ -1,3 +1,6 @@ +6 [pending] + U extra/etc/nsswitch.conf + 5 15 Jun 2017 + 00_all_0015-rtld-Completely-ignore-LD_LIBRARY_PATH-for-AT_SECURE.patch + 00_all_0016-rtld-Reject-overly-long-LD_AUDIT-path-elements.patch diff --git a/src/patchsets/glibc/9999/README.history b/src/patchsets/glibc/9999/README.history index 8369156bb9..237ed1be7e 100644 --- a/src/patchsets/glibc/9999/README.history +++ b/src/patchsets/glibc/9999/README.history @@ -1,4 +1,8 @@ +3 [pending] + U extra/etc/nsswitch.conf + 2 08 Aug 2017 + 00_all_0001-disable-ldconfig-during-install.patch + 1 07 Aug 2017 + README.history: intentionally empty diff --git a/src/patchsets/glibc/extra/etc/nsswitch.conf b/src/patchsets/glibc/extra/etc/nsswitch.conf index 4259b8a468..174566a9e7 100644 --- a/src/patchsets/glibc/extra/etc/nsswitch.conf +++ b/src/patchsets/glibc/extra/etc/nsswitch.conf @@ -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 |