Red Hat Bugzilla – Bug 178539
Clean up /var/lock/cvs completely in rc.sysinit
Last modified: 2014-03-16 22:57:50 EDT
When initializing a new cvs repository with the FC cvs package, CVSROOT/config
contains a commented out entry for moving locks outside of the actual repository
dirs; that path points to /var/lock/cvs. In practice, a lot of repositories
which run cvsweb/viewcvs etc on top of it end up uncommenting this entry in
order to not need to grant Apache write access to the repository dirs.
The dir/file layout created under LockDir mirrors the CVS repository, ie.
subdirs are generated there. It would be nice to have rc.sysinit clean that up
properly at bootup instead of erroring out on subdirs (and leaving possible
stale locks in it).
Created attachment 123528 [details]
Completely clean up /var/lock/cvs/* at boot
Added in 8.22-1.