NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › BT's BIG Gentoo Project.
New Posts  All Forums:Forum Nav:

BT's BIG Gentoo Project. - Page 9

post #161 of 168
Yeah gentoo has config protection on all files in /etc/. If a package has a new config file that's different to the current one the new file is renamed in a predictable way. You can then run etc-update which will look for these renamed files and help you update your current config files (if necessary), overwrite you current files, or just delete the update.

BTW the directories to be protected are defined by the CONFIG_PROTECT environment variable and you can exclude directories (i.e. new install and don't care about configs or you never alter the configs) using CONFIG_PROTECT_MASK.
post #162 of 168
Look into the 'dispatch-conf' utility. I highly recommend it.

It is part of portage and it is my understanding that it has been designed to replace etc-update.

It tends to be a safer tool, has the intelligent merging ability of etc-update, and, most importantly to me, has the ability to maintain all your configs in a version control system [rcs]. So you can roll back to or simply view any previous version very easily.



troymc
post #163 of 168
Quote:
Originally Posted by bigtrouble77
Do you guys always update the configuration files? Or do you just tell it to keep the current ones? And if you keep the current ones are you risking instability? I could imagine using a config file that has become obsolete would cause havok.
Yup. Sometimes directory structures change or filenames change with new updates. So you either check the config updates or take your chances. Personally, I use etc-update but I hear that there aren't any really good ways of managing config file updates for Gentoo yet. Supposedly there are a few tools that are being developed now, and one of them will eventiually replace etc-update.
post #164 of 168
Quote:
Originally Posted by mmarkin
The only way I can see a server surviving automated updates is if you only selectively and rarely restart updated services. But if you do that, you might as well skip updates alltogether! (E.g. what is the point of having the latest security patches if the currently executing binaries are a few months old?)
True, and it's not just a security issue. I've had at least one 'stable' branch gcc related update (back when 3.3 was in the stable tree) break portage before. That's why I can't believe troymc hasn't run into problems yet after 3 years of auto-updating from a daily cron job. Either he's rsync'ing from a special server, or I got something from a hacked server. But I found others having the same problem on Google... In any case, I think autosyncing is a huge risk even with stable packages.
post #165 of 168
Thread Starter 
ARgh!!! A new version of gnome and a new linux kernel come the same week. I think it's finally time to get Gentoo running 100% on my laptop.
post #166 of 168
Quote:
Originally Posted by bigtrouble77
ARgh!!! A new version of gnome and a new linux kernel come the same week.
Think positive! Both upgrades in a single down-time. 2 birds with one stone!


Quote:
Originally Posted by bigtrouble77
I think it's finally time to get Gentoo running 100% on my laptop.
You haven't given a status report in awhile. Where are you at now?



troymc


9750 on the Gentoo Hardware Wiki


Sager 9750-V | AMD A64 FX-60 | 17" WUXGA LCD | nVIDIA GeForce Go 7800 | 2048MB 400DDR | 2x 100GB 7200RPM SATA | 8x DVD+- combo drive with DVD+R DL | 802.11g wireless + Bluetooth | 3 Year Extension w/ Onsite
post #167 of 168
Thread Starter 
Quote:
Originally Posted by troymc
You haven't given a status report in awhile. Where are you at now?
Way back somewhere in this thread I mentioned that I needed to configure 2 servers before I got to my laptop and that's what I've been doing all this time. Most recently I've configured email services, additional webservices and virtual hosts.

Right now I'm configuring mod_jk so that Tomcat can run on port 80 because comcast blocks 8080. I also setup subversion so that I can have some better version control for my webapp project and my gp2x game project.

Everything I've thrown at portage so far has returned positive results, I never had this much luck on any other distro so I'm really happy.
post #168 of 168
Just remember when you get it set up how you want, make an image so you dont have to redo all this

Backup your config files seperately if you can as well.

Seablade

Who needs to take his own advice
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › BT's BIG Gentoo Project.