public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nils Holland <nhg@tisys.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Emerge Problems...
Date: Tue, 1 Feb 2011 22:35:10 +0100	[thread overview]
Message-ID: <20110201213510.GB13387@x7bj.fritz.box> (raw)
In-Reply-To: <4D47502F.5060806@gmail.com>

On 18:13 Mon 31 Jan     , Dale wrote:
> Nils Holland wrote:
> >      
> > In fact, what I always do is sync one of my machines with an official
> > Gentoo mirror via "emerge --sync", and then I just use rsync to
> > distribute the updated tree to all my other local machines as in:
> >
> > rsync --delete -trmv /usr/portage/ <user>@<dest_host>:/usr/portage
> >
> > One might want to ask rsync to exclude the distfiles directory,
> > but I always include it as it oftentimes saves me the download of a
> > file I've already downloaded during an emerge on another machine.
> 
> Maybe I am missing something but I have two machines here.  I sync to 
> the Gentoo servers with the main rig and then sync the second rig from 
> the main rig.  All you have to do is start the rsync service and set the 
> IP address in the SYNC line in make.conf on the second rig.  This is my 
> rsyncd.conf on the main rig:
> [...]

That actually makes sense, it would mean that rsyncd would have to be
running and appropriately configured on the local "master" machine,
and then it would provide the advantage of being able to sync all
other local machines with the local master via a standard "emerge
--sync" instead of a relatively long rsync command. Indeed, I guess
I'll start doing this here as well.

However, I have a server hosted at some hosting company as well, and I
prefer not to sync it with an official Gentoo mirror, but with my
local portage tree, in order to be sure that I have the exact same
version of the portage tree on the server that I also use locally. For
that case, NAT would prevent my server from contacting an rsync daemon
on a local machine, so I'm actually using a locally invoked rsync to
"shove" the tree to the server (vs. having the server "fetch" it). I
guess that can't easily be changed, but it's not a problem anyway, as
my current mode of operation works well.

Greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
Powered by GNU/Linux since 1998



  parent reply	other threads:[~2011-02-01 21:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30  4:12 [gentoo-user] Emerge Problems BRM
2011-01-30  9:31 ` [gentoo-user] " Francesco Talamona
2011-01-30 12:03 ` [gentoo-user] " Neil Bothwick
2011-01-30 17:59   ` BRM
2011-01-31 11:35     ` Marc Joliet
2011-01-30 21:07 ` Nils Holland
2011-01-31 14:55   ` BRM
2011-01-31 20:35     ` [gentoo-user] " Francesco Talamona
2011-01-31 22:26       ` BRM
2011-02-02  1:04         ` Peter Humphrey
2011-01-31 22:43       ` Nils Holland
2011-02-01  0:13         ` Dale
2011-02-01 13:48           ` BRM
2011-02-01 15:39             ` Neil Bothwick
2011-02-01 17:20               ` Dale
2011-02-01 20:41                 ` Joshua Murphy
2011-02-02 21:18                   ` Nils Holland
2011-02-01 20:43                 ` BRM
2011-02-01 21:21                   ` Dale
2011-02-02  1:27                   ` Peter Humphrey
2011-02-02 17:29                     ` BRM
2011-02-01 21:35           ` Nils Holland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-03 20:31 [gentoo-user] emerge problems James Stull
2009-01-04 11:35 ` pk
2009-01-05  0:48   ` James Stull
2009-01-05  0:55     ` [gentoo-user] " Nikos Chantziaras
2009-01-05  0:57       ` Nikos Chantziaras
2009-01-05 14:27         ` James Stull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110201213510.GB13387@x7bj.fritz.box \
    --to=nhg@tisys.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox