etc-update config files

Anything that pertains to Portage

Moderator: Moderators

etc-update config files

Postby pajamabama » Tue Sep 18, 2007 4:16

The general rules of thumb regarding dealing with config file updates, as far as I've seen, is to basically take the updated version unless you've made changes to the file personally. But since SL is highly configured prior to delivery, is there any master list of config files that have changes we should be keeping?

Also, what are the risks of not updating /etc/conf.d/clock? I don't have my clock set to UTC, I don't live in Timezone 'Factory', and I like setting the hardware clock at shutdown.
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: etc-update config files

Postby pajamabama » Tue Sep 18, 2007 4:26

never mind about the clock file. After looking just a bit closer, I can see it's pretty clearly safe to keep the original.
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: etc-update config files

Postby DontPanic » Tue Sep 18, 2007 17:06

It doesn't hurt to occasionally make a tar.gz backup of your configuration files so you can go back and examine the previous version in case you clobber a configuration file during updating.

For most configuration files, I'll give it a quick scan, and usually replace with the updated package.

If I feel like I need to give the update a closer look, I'll usually use a program called 'meld' (dev-util/meld), which gives me a much more visually intuitive side-by-side comparison of the update with the original. There are several other programs which can also do a much better job of comparing/merging than the one built into 'update-etc'.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: etc-update config files

Postby Necoro » Tue Sep 18, 2007 19:14

dispatch-conf can be used together with a versioning software - thus it will backup each version of your conf files
User avatar
Necoro
Advanced Hen
 
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)

Re: etc-update config files

Postby DontPanic » Tue Sep 18, 2007 19:38

Necoro wrote:dispatch-conf can be used together with a versioning software - thus it will backup each version of your conf files


Thanks for that tip, I'll have to give that one a try.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: etc-update config files

Postby Raqua » Mon Sep 24, 2007 12:33

I use Kuroo and kdiff3 which gives me good GUI style editing, showing all that differs and it makes automatic backup copy of the changed file. Before I start editing I usually do a screenshot od Kuroo's list of changed cfg files, so I know which one I have changed. This way, when I got into troubles, I can easily figure out what I changed and I have backup copy.
Raqua
Growing Hen
 
Posts: 175
Joined: Sun Apr 22, 2007 10:17


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 3 guests

cron