On Sun, 07 Jan 2007 23:51:37 -0500 Michael Olson <[EMAIL PROTECTED]> wrote:
> I've been experimenting with putting some of /etc on deleuze under > version control, using Mercurial (http://www.selenic.com/mercurial/). > I currently have the configuration for all of the daemons that I'm a > primary or secondary contact checked in. Mercurial is fairly > non-invasive: it puts all of its metadata in a ".hg" directory in the > top-level folder of the archive (/etc/.hg, in this case). > > The main purpose of this is to see which configuration files have > changed (either as a result of an upgrade or that of an admin edit). > I'm aware that there is another utility installed on deleuze that > monitors changes to files, but this particular approach mirrors the > way I do things for my own machine, and seems non-invasive, so I'd > like to try it out. > > Other admins are welcome (though not required -- I can handle changes > not checked in using the tool) to try it once I figure out how to set > a umask or something similar such that the contents of /etc/.hg are > neither world nor group-readable. Any ideas for how to accomplish > this? > > Further instructions will follow once this problem is resolved. I don't think this is worth the trouble. (I mean, I can live with it if it makes the work enjoyable for you :) But my take is: there is the 'changetrack' package installed which automatically indexes all of /etc and debian config files (where ever they are on the filesystem). It automatically uses rcs and commits new revisions (changed files, if any) to the rcs each day. So you both get the daily e-mail with filesystem changes, as well as automatic revision control in case you ever want to look up previous revisions. (To date, I had no need to see more that 1 revision back, and that last revision was included in the daily change report by definition, since the change is displayed as diff -u). Have a nice day, -doc _______________________________________________ HCoop-SysAdmin mailing list [email protected] http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin
