Gentoo Archives: gentoo-server

From: Kurt Lieber <klieber@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] portage syncing
Date: Tue, 06 Dec 2005 22:08:48
Message-Id: 20051206220840.GJ1198@mail.lieber.org
In Reply to: [gentoo-server] portage syncing by Justin Krejci
1 On Tue, Dec 06, 2005 at 03:54:40PM -0600 or thereabouts, Justin Krejci wrote:
2 > I have written a quick little script to help prevent a server from syncing its
3 > portage tree more than once per 24 hours. Syncing more frequently is more
4 > likely to happen on a server with multiple admins, so instead of keeping
5 > track of when anyone syncs the tree we now just use this little script. We
6 > use esearch instead of calling emerge directly but the script can be adjusted
7 > very easily.
8 >
9 > If anyone has come up with a better way to do this, I'd love to see it.
10
11 Um...why not just cron it and never worry about it again? If there are
12 specific security updates, you can run a manual sync on an exception basis.
13 If you have multiple admins trying to patch the same security hole on the
14 same box, you have bigger problems anyway.
15
16 --kurt