[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs commit as root

From: Greg A. Woods
Subject: Re: cvs commit as root
Date: Fri, 7 Dec 2001 11:29:56 -0500 (EST)

[ On Thursday, December 6, 2001 at 22:17:21 (-0800), Harry Putnam wrote: ]
> Subject: cvs commit as root
> I'd like to override the taboo on committing as root. I imagine it is
> possible but not clear how to do it.

It is possible, but you don't want to do it.

> On my setup, I use cvs as much for having version control of host
> config files as for software devel, maybe more.
> [[....]]

I think you're going about things kind of backwards.

What you should do instead is come up with an "install" procedure that
can take a CVS working directory (or even the result of a "cvs export")
and install its contents into the system directories, restarting or
triggering reloads in daemons as necessary, etc.  Various forms of
validation and consistency checking can also be done.

I've built such procedures using 'make', but another tool that seems to
have more specific capabilities in this domain is 'cfengine'.

> Its already somewhat troublesome keeping all this stuff in cvs.

Indeed it can be.  These days I just use SCCS (or RCS) to track
individual files within the directories where they reside.

                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]