Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130347

Summary: Upgrading coreutils breaks rsnapshot
Product: Gentoo Linux Reporter: Jon Dye <jon>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jon Dye 2006-04-18 04:22:48 UTC
Today I upgraded my coreutils package to 5.94-r1 and rsnapshot stopped working correctly. 

I get the following message:

[18/Apr/2006:12:08:31] /bin/cp -al /var/backups/hourly.0/ /var/backups/hourly.1/
[18/Apr/2006:12:08:31] /usr/bin/rsnapshot hourly: ERROR: /bin/cp failed. Perhaps this is not GNU cp?
[18/Apr/2006:12:08:31] /usr/bin/rsnapshot hourly: ERROR: Error! cp_al("/var/backups/hourly.0/", "/var/backups/hourly.1/")

Running the command "/bin/cp -al /var/backups/hourly.0/ /var/backups/hourly.1/" manually fails with the message:

"/bin/cp: target `/var/backups/hourly.1/' is not a directory: No such file or directory"

Removing the trailing slash from the destination fixes the problem.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 06:20:22 UTC

*** This bug has been marked as a duplicate of 122252 ***