[mirror-admin] Fedora 16 Staged

Axel Thimm Axel.Thimm at atrpms.net
Mon Nov 7 07:11:05 EST 2011


On Sun, Nov 06, 2011 at 06:48:55PM -0600, Matt Domsch wrote:
> it shouldn't require authentication, iirc.  try wget
> /mirrrormanager/rsync_acl.

Thanks, Matt, that works just great!
Now all is needed is something like

whitelist=`tr '\n' , < rsync_acl`
sed -e"s|@WHITELIST@|$whitelist|" < /etc/rsyncd.conf.in > /etc/rsyncd.conf

in a cron script to have always up2date mirror acls matching
mirrormanager's. I'll play a bit around and repost.

>  On Nov 6, 2011 6:44 PM, "Axel Thimm" <Axel.Thimm at atrpms.net> wrote:
> 
> > Hi,
> >
> > On Sun, Nov 06, 2011 at 12:51:36PM -0700, Stephen John Smoogen wrote:
> > > On 6 November 2011 11:06, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> > > > On Sat, Nov 05, 2011 at 08:35:31AM -0500, Dennis Gilmore wrote:
> > > > As a side note - could this be somehow automated? I know that some
> > > > mirrors simply use the ACLs as produced by the mirrormanager. Maybe a
> > > > wgetable list that could be croned?
> > >
> > > Could what be automated? This is rather ambiguous and I am not sure
> > > what you meant.
> >
> > Sorry, didn't mean to sound ambiguous - there is a whitelist of hosts
> > you get already in simple text encoding if you log onto mirrormanager
> > and click through to it.
> >
> > By automating I mean this list that you then should be able to pull
> > w/o authentication via wget to shove into rsync's config. AFAICT you
> > need to be logged in to get the list, so this cannot be placed into a
> > cron job that would automatically fetch the list and whitelist new
> > mirrors w/o any mirror admin intervention.
> > --
> > Axel.Thimm at ATrpms.net
> >
> > --
> >
> >

> --


-- 
Axel.Thimm at ATrpms.net

--


More information about the Mirror-admin mailing list