> OK but can't I do that with a simple mode to the /etc/crontab ?: > 30 1 * * * root emerge sync 2>&1 > ?
Yes, but I do a little more in my script and want the pieces to be synchronized. As you saw in the script not only do I emerge sync but I also update the eix and esearch databases (both are cached package search/query tools that kick the crap out of "emerge --search"). I've been considering adding an "emerge --fetchonly" line to the script but don't yet have the warm and fuzzies about the http-replicator script. > This script is for the internal rsync/replicator server? Runs on all of them. All of them need to sync and I like being able to query from whatever system I'm on. > OK, the port has changed. What's the deal about that? Most local http daemons run on 8080 or 8088; I just didn't want to deal with conflicts so I chose my own number. > OK thanks for the script. I'll have to study it, test it and let you know > how it goes... They've been working out great for me. I've recently added a 'revdep-rebuild' script so I can be reported of packages in need of fixing (in case I miss the step manually). > Agreed. But I intend to set up a test-quarrantine system that is fully > automated, and if all goes well for (1) 24-hour period, then push the > updates to a bunch of PI and PII systems for a bunch of kids (hoodlums.... > some of which are mine.) Ah, but how long would it take to test out the new package(s) in the quarantine system? When it's something significant (i.e. pam) are you going to test out every system component using pam before deploying internally? In your case I'd probably ensure the kids logins are typical user logins (no update capability). Run the scripts (or similar scripts) to automate the syncing and reporting. Keep ssh running on their systems. Hold off on updates until they run into something that breaks or until a critical package update is released. Then you can ssh in and emerge stuff until it works. Basically it's a question that even windows folks have to face - is it more important to have a working yet somewhat out of date system or a cutting-edge updated system that can sometimes be unstable? In my home I've chosen to keep my boxen up to date but the kids systems tend to lag well behind the curve. -- gentoo-user@gentoo.org mailing list