On Tue, Dec 06, 2005 at 03:54:40PM -0600 or thereabouts, Justin Krejci wrote: > I have written a quick little script to help prevent a server from syncing > its > portage tree more than once per 24 hours. Syncing more frequently is more > likely to happen on a server with multiple admins, so instead of keeping > track of when anyone syncs the tree we now just use this little script. We > use esearch instead of calling emerge directly but the script can be adjusted > very easily. > > If anyone has come up with a better way to do this, I'd love to see it.
Um...why not just cron it and never worry about it again? If there are specific security updates, you can run a manual sync on an exception basis. If you have multiple admins trying to patch the same security hole on the same box, you have bigger problems anyway. --kurt
pgp1Px80UHyZg.pgp
Description: PGP signature
