Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2010 13:39:01 -0600
From:      Kevin Day <toasty@dragondata.com>
To:        Ken Smith <kensmith@buffalo.edu>
Cc:        freebsd-hubs@freebsd.org
Subject:   Re: Sorry state of the rsync based CVS,replication
Message-ID:  <2E6CACA4-04B1-44E3-9874-2D2BFFE53900@dragondata.com>
In-Reply-To: <1289492183.40288.37.camel@bauer.cse.buffalo.edu>
References:  <4CC81EE7.4020607@teambox.fr> <1289492183.40288.37.camel@bauer.cse.buffalo.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 11, 2010, at 10:16 AM, Ken Smith wrote:
>>=20
>=20
> As others have reported this was caused by the permissions on the
> Attic directories not including world read permission.  For sites
> where it was working it's actually an indication they're not following
> "best practices" for a mirror site.  It's typically a bad idea to have
> the thing that allows access to the content of the mirror site running
> with the same credentials as what keeps the mirror site up to date.  =
We
> don't use the 'feature' that allow for (pre-staging content that the
> world shouldn't have access to for a period of time, allowing the =
mirror
> sites to get fully populated before the release date) but I know of
> other projects that do.  The ftp-master machines don't have that in
> place because they're not public and they need to allow the blessed
> mirrors access to everything (for the purposes of pre-staging, if we
> were actually using that feature...).


Just to avoid making this even more confusing to those wondering why it =
was working in my post:


This was working on ftp3.us because we grab a copy of the cvs repository =
via cvsup, and present that as an rsyncable module.=20

Works: rsync -rav  =
ftp3.us.freebsd.org::FreeBSD-CVS/ncvs/ports/chinese/pcmanx/files/Attic .

Doesn't: rsync -rav  =
ftp3.us.freebsd.org::FreeBSD/development/FreeBSD-CVS/ports/chinese/pcmanx/=
files/Attic .
receiving file list ... rsync: opendir =
"/development/FreeBSD-CVS/ports/chinese/pcmanx/files/Attic" (in FreeBSD) =
failed: Permission denied (13)

"FreeBSD" is our mirror of ftp-master, and "FreeBSD-CVS" is a mirror of =
our cvsup repo that's we get via the cvsup protocol(correct =
permissions), not rsync mirrored from ftp-master.us(has unreadable attic =
directories).

-- Kevin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E6CACA4-04B1-44E3-9874-2D2BFFE53900>