Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100758 - /etc/nsswitch.conf gone, after advice in handbook.
Summary: /etc/nsswitch.conf gone, after advice in handbook.
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 15:16 UTC by roger55 (RETIRED)
Modified: 2005-07-30 04:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roger55 (RETIRED) gentoo-dev 2005-07-29 15:16:21 UTC
According to http://bugs.gentoo.org/show_bug.cgi?id=93273    
/etc/nsswitch.conf moved from baselayout to glibc.  
  
People installing from stage3 (2005.0) have the old baselayout 
with /etc/nsswitch.conf 
 
Code Listing 21: Upgrading baselayout 
# rm /etc/conf.d/net 
# CONFIG_PROTECT="-*" emerge baselayout 
 
this will cause /etc/nsswitch.conf to vanish as baselayout owned it only in 
the old version. 
 
Thanks to moreon from #gentoo for finding out. 
 
Possible solutions: 
 
leave baselayout alone, and use the old configstyle for conf.d/net  
or upgrade glibc as well.  
 
With 2005.1 (possibly around the corner) this issue will hopefully bite less 
people in the near future. 
 
Check with the baselayout guys if that is correct please. 
 
Roger
Comment 1 roger55 (RETIRED) gentoo-dev 2005-07-29 15:41:30 UTC
01:11 @   SpanKY| what do you want from me ? 
01:12 @  roger55| SpanKY, I'd like to know what the best solution is. 
01:12 @  roger55| SpanKY, remerging glibc sounds a little rough, no? 
01:13 @   SpanKY| copy it from /usr/portage/sys-libs/glibc/files/nsswitch.conf 
01:14 @   SpanKY| or just do `touch /etc/nsswitch.conf` before emerge 
baselayout 
 
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2005-07-30 04:20:09 UTC
got it
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-07-30 04:39:01 UTC
Fixed in CVS.