[CentOS-mirror] 5.6 is coming closer

Claire M. Connelly cmc at math.hmc.edu
Wed Apr 6 15:21:07 EDT 2011


"PS" == Paul Stewart <pstewart at nexicomgroup.net>

Paul,

    PS> Could someone please explain the "bit flips" ?  Sorry, I
    PS> haven't taken any time to understand this .. is it just a
    PS> matter of the correct rsync command switches?

    PS> In our rsync crontab we have:

    PS> # CENTOS Mirror 01 * * * * www-data /usr/bin/rsync -rtlzv
    PS> --delete rsync://mirror.steadfast.net/centos/ /var/centos/

You should be using the -p flag to preserve permissions, which
will change the permissions over when they're changed upstream.
(We use 

   -vaH ${EXCLUDES} --numeric-ids \
   --delay-updates \
   --delete --delete-after

the -a flag includes -rlptgoD; -H preserves hard links, which is
-also desirable.)

Some distros (like Fedora) do the staging behind a restricted
directory and then ask mirrors to do the bitflip at a particular
time by changing the permissions by hand or with a cron or at job,
but CentOS appears to be propagating the bitflip through the
mirror network instead.

   Claire

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  Claire Connelly                              cmc at math.hmc.edu
  System Administrator                           (909) 621-8754
  Department of Mathematics                 Harvey Mudd College
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  For System News: http://www.math.hmc.edu/computing/news/
                   or http://twitter.com/hmcmathcomp/.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos-mirror/attachments/20110406/6baa2260/attachment.bin 


More information about the CentOS-mirror mailing list