Public bug reported:
Binary package hint: ubumirror
PROBLEM:
Sometimes the mirror we are syncing from (using ubumirror) is either currently
syncing or has aborted during a sync and not cleaned up the .~tmp~ directories.
As a result, we end up having log messages that look like this:
receiving file list ... rsync: opendir "/pool/main/t/telepathy-butterfly/.~tmp~"
(in ubuntu) failed: Permission denied (13)
rsync: opendir "/pool/main/t/thunderbird/.~tmp~" (in ubuntu) failed: Permission
denied (13)
rsync: opendir "/pool/main/p/puppet/.~tmp~" (in ubuntu) failed: Permission denie
d (13)
rsync: opendir "/pool/main/p/postgresql-common/.~tmp~" (in ubuntu) failed: Permi
ssion denied (13)
rsync: opendir "/pool/main/p/python-imaging/.~tmp~" (in ubuntu) failed: Permissi
on denied (13)
rsync: opendir "/pool/main/q/quassel/.~tmp~" (in ubuntu) failed: Permission deni
ed (13)
rsync: opendir "/pool/main/s/swt-gtk/.~tmp~" (in ubuntu) failed: Permission deni
ed (13)
rsync: opendir "/pool/main/s/splix/.~tmp~" (in ubuntu) failed: Permission denied
(13)
SOLUTION:
One can, in, say, /usr/bin/ubuarchive, either remove the --delay-updates flag,
# rsync -av --timeout=600 --partial --delete --delete-after \
rsync -av --timeout=600 --partial --delete \
or just tell rsync to cheerfully ignore those directories,
rsync -av --timeout=600 --partial --delete --delete-after \
--bwlimit=$SPEED \
--exclude "indices/" --exclude "dists/" --exclude
"project/trace/${HOSTNAME}" \
--exclude "Archive-Update-in-Progress-${HOSTNAME}" \
--exclude .~tmp~/ \
<------------------------------------- Add this thingie
$UBUARC_EXCLUDE \
$UBUARC_MIRROR $UBUARC_DIR
which is what ftpsync does.
** Affects: ubumirror (Ubuntu)
Importance: Undecided
Status: New
--
ubumirror tries to copy the .~tmp~ directories
https://bugs.launchpad.net/bugs/663992
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs