Gentoo Archives: gentoo-user

From: Aniruddha <mailing_list@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror
Date: Mon, 15 Sep 2008 14:54:27
Message-Id: 1221490453.25617.3.camel@Gentoo
In Reply to: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror by Michael Sullivan
1 On Mon, 2008-09-15 at 09:09 -0500, Michael Sullivan wrote:
2 > I've got three PCs. I want to only have to have one run emerge --sync,
3 > but for the box running the emerge --sync to be able to rsync the tree
4 > to the other two boxes automatically (like in the middle of the night
5 > while I'm asleep). Is there a way to do this? The problem with my
6 > theories on how to do this fall apart when I get to the part where a
7 > password has to be entered for rsync/scp. I used to do this with NFS,
8 > but the box that will be running emerge --sync has a history of locking
9 > up if there is more than one semi-heavy process going on it at a time,
10 > so I want each box to have its own copy of the tree. Is there a way to
11 > do this?
12
13 Just setup two boxes to rsync to you primary "emerge --sync box" using
14 cron. See: http://www.gentoo.org/doc/en/rsync.xml
15
16 Regards,
17
18 Aniruddha