I would like to put my /etc directory iunder source control using bazaar.

Are there any gotchas in doing this. It seems safer to do it user an ordinary user rather than root - might there a be a problem with .bzr belonging to such a user.

link|improve this question

60% accept rate
feedback

3 Answers

up vote 11 down vote accepted

You should look at using etckeeper, instead of trying to reinvent the wheel.

link|improve this answer
Looks promising, I had to google to findo ut how to use it . Is there a pointer to a guide to setting it up. – justintime Aug 30 '10 at 19:49
I haven't used it personally, sorry. See if anything here helps: serverfault.com/search?q=etckeeper – Graeme Donaldson Aug 30 '10 at 22:13
feedback

Could be overkill for a single system (unless you need to 'rebuild' it from time to time) but the usual solution for configuration management is to use some tool like cfEngine, Puppet, or the like, and then put their data under source control.

link|improve this answer
feedback

Here's a way using SVN and cron to manage /etc. I suppose it could be adapted.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.