Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656936

Summary: sys-libs/glibc Gentoo-specific config files need review
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: arthur, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 637144    

Description Andreas K. Hüttel archtester gentoo-dev 2018-05-30 21:13:11 UTC
mostly as reminder to self... will take care of this tomorrow

[23:06:11] <robbat2> dilfridge: here's a question for that
[23:06:20] <robbat2> the glibc sources have TWO diferent nsswitch.conf files
[23:06:36] <dilfridge> uh, right
[23:06:40] <robbat2> WORKDIR/work/extra/etc/nsswitch.conf
[23:06:40] <robbat2> WORKDIR/work/glibc-2.27/nss/nsswitch.conf
[23:06:42] <dilfridge> there was something
[23:06:50] <dilfridge> extra is from us
[23:06:54] <robbat2> i see the ebuild installs one, then overrides the other
[23:07:06] <robbat2>     doins nscd/nscd.conf posix/gai.conf nss/nsswitch.conf
[23:07:06] <robbat2>     doins "${WORKDIR}"/extra/etc/*.conf
[23:07:54] <robbat2> the glibc-2.27/nss/nsswitch.conf contains a bunch of databases that the extra one doesn't
[23:08:22] <robbat2> initgroups, gshadow
[23:08:31] <dilfridge> didnt notice that yet, good catch
[23:08:43] <dilfridge> probably we should do away with our own version, or only patch
[23:09:15] <dilfridge> I'll file a reminder bug with this conversation and look at it tomorrow
[23:09:50] <robbat2> other entries that need review: bootparams, netmasks, publickey (manpage-only)
[23:10:04] <dilfridge> yeah
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2018-06-02 18:32:41 UTC
OK so the upstream config files haven't changed from 2.25 to 2.27. This means we're already using "old" files on stable now. Since noone has complained so far, the impact is probably limited. 

Still needs review, but I'm not going to have this block 2.26 stabilization or 2.27 keywording.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-10-22 20:40:27 UTC
We're dropping our Gentoo-edited nsswitch.conf and nscd.conf in 2.28 and go with the (sane) upstream default there.