Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88054 - Patch of gentoo-rsync-mirror script to delete spurious .ChangeLog.* files
Summary: Patch of gentoo-rsync-mirror script to delete spurious .ChangeLog.* files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 53210
Blocks:
  Show dependency tree
 
Reported: 2005-04-05 09:59 UTC by Chris Verges
Modified: 2005-07-28 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patched gentoo-rsync-mirror script (rsync-gentoo-portage.sh,342 bytes, text/plain)
2005-04-05 10:01 UTC, Chris Verges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Verges 2005-04-05 09:59:52 UTC
When using the gentoo-rsync-mirror script (version 1.0-r4), I keep noticing that odd .ChangeLog.* files get created.  When a user performs a rsync off the local mirror that has these files, rsync does not allow it to work.  As a solution, I've added a simple "find | xargs rm" after the rsync to clear out any of these troublesome files.

Reproducible: Always
Steps to Reproduce:
1. Run the gentoo-rsync-mirror script on a rsync mirror that has these .ChangeLog.* files
2. Attempt to have a user on the local LAN mirror from your secondary server
Actual Results:  
The user's rsync keeps failing with this style of message:

send_files failed to open "/app-arch/sharutils/.ChangeLog.NijeGb" (in
gentoo-portage): Permission denied

Expected Results:  
These .ChangeLog.* files should never have been copied from the primary rsync
mirror in the first place.
Comment 1 Chris Verges 2005-04-05 10:01:09 UTC
Created attachment 55377 [details]
Patched gentoo-rsync-mirror script
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-05 19:50:15 UTC
Never realized that an rsync mirror was related to clustering, tantive. =) But I see that metadata.xml thinks so.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2005-07-28 15:32:45 UTC
Fixed in cvs. Bumped version to -r5.
Thanks for your submission.

Donnie: fixed that as well