View previous topic :: View next topic |
Author |
Message |
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Sat Jan 01, 2011 8:03 pm Post subject: Configuration File Confusion |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Jan 01, 2011 10:20 pm Post subject: |
|
|
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 |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Sat Jan 01, 2011 10:39 pm Post subject: |
|
|
So are both of those for baselayout 2? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Jan 01, 2011 11:02 pm Post subject: |
|
|
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 |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Sat Jan 01, 2011 11:12 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Jan 01, 2011 11:20 pm Post subject: |
|
|
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 |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Sun Jan 02, 2011 12:37 am Post subject: |
|
|
Thank you very much. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1776 Location: PB, Germany
|
Posted: Wed Jul 11, 2012 11:35 am Post subject: |
|
|
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. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
|