Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuration File Confusion
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1221
Location: Jefferson, USA

PostPosted: Sat Jan 01, 2011 8:03 pm    Post subject: Configuration File Confusion Reply with quote

Three questions:

1. /etc/conf.d/net or /etc/conf.d/network
2. /etc/rc.conf /etc/conf.d/rc
3. Automatic removal of obsolete configuration files?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31907
Location: 56N 3W

PostPosted: Sat Jan 01, 2011 10:20 pm    Post subject: Reply with quote

wswartzendruber,

It mostly depends on the version of baselayout you have.

You cannot have automatic removal of obsolete config files - at aleast, not for baselayout updates as you need the old files until you have configured the new ones and rebooted. IF the reboot goes wrong, you will want to look at the old files again too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1221
Location: Jefferson, USA

PostPosted: Sat Jan 01, 2011 10:39 pm    Post subject: Reply with quote

So are both of those for baselayout 2?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31907
Location: 56N 3W

PostPosted: Sat Jan 01, 2011 11:02 pm    Post subject: Reply with quote

wswartzendruber,

/etc/conf.d/net is normally used by both baselayout versions
/etc/conf.d/network comes with baselayout2 but you need not uses it unless you move to the new baselayout2 network setup. That is not the default behaviour in gentoo.

/etc/rc.conf and /etc/conf.d/rc are the same thing for the different baselayouts /etc/conf.d/rc belongs to baselayout1

I use there baselayout term loosely, baselayout2 also includes OpenRC
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1221
Location: Jefferson, USA

PostPosted: Sat Jan 01, 2011 11:12 pm    Post subject: Reply with quote

NeddySeagoon wrote:
wswartzendruber,

/etc/conf.d/net is normally used by both baselayout versions
/etc/conf.d/network comes with baselayout2 but you need not uses it unless you move to the new baselayout2 network setup. That is not the default behaviour in gentoo.

/etc/rc.conf and /etc/conf.d/rc are the same thing for the different baselayouts /etc/conf.d/rc belongs to baselayout1

I use there baselayout term loosely, baselayout2 also includes OpenRC

Is there a guide available for which ones I can delete?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31907
Location: 56N 3W

PostPosted: Sat Jan 01, 2011 11:20 pm    Post subject: Reply with quote

wswartzendruber,

There is the Baselayout Migration Guide
You can remove all the files it tells you to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1221
Location: Jefferson, USA

PostPosted: Sun Jan 02, 2011 12:37 am    Post subject: Reply with quote

Thank you very much.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1206
Location: PB, Germany

PostPosted: Wed Jul 11, 2012 11:35 am    Post subject: Reply with quote

NeddySeagoon wrote:
/etc/conf.d/net is normally used by both baselayout versions
/etc/conf.d/network comes with baselayout2 but you need not uses it unless you move to the new baselayout2 network setup. That is not the default behaviour in gentoo.
Thanks for the clarification. But the file /etc/conf.d/network is not mentioned by the migration guide. Then I wonder that still both files are installed:
Code:
$ equery belongs /etc/conf.d/net*
 * Searching for /etc/conf.d/net,/etc/conf.d/network ...
sys-apps/openrc-0.9.8.4 (/etc/conf.d/network)
sys-apps/openrc-0.9.8.4 (/etc/conf.d/net)
I'm currently using the net file, while network has only comments.
Which one has precedence?
Does the network file also support network.{$softlevel} separations?
Does any manpage or doc describe the current baselayout/openrc? openrc itself only offers net.example.bz2.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G | amd64:Acer Z5610 (Core2QuadQ8200),i5-3470 | amd64-prefix:OpenSuse | Lila-Theme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum