ubumirror tries to copy the .~tmp~ directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubumirror (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
(in ubuntu) failed: Permission denied (13)
rsync: opendir "/pool/
denied (13)
rsync: opendir "/pool/
d (13)
rsync: opendir "/pool/
ssion denied (13)
rsync: opendir "/pool/
on denied (13)
rsync: opendir "/pool/
ed (13)
rsync: opendir "/pool/
ed (13)
rsync: opendir "/pool/
(13)
SOLUTION:
One can, in, say, /usr/bin/
# 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 \
-
--exclude "indices/" --exclude "dists/" --exclude "project/
--exclude "Archive-
--exclude .~tmp~/ \ <------
$
$
which is what ftpsync does.
Related branches
- Ubumirror Developers: Pending requested
-
Diff: 63 lines (+36/-1)1 file modifiedubuarchive (+36/-1)
I think ubumirror should look for Archive- Update- in-Progress- * file and not proceed if it exists.