rsnapshot fails to run after Breezy -> Dapper transition
Bug #33155 reported by
Raphaël Berbain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsnapshot (Ubuntu) |
Fix Released
|
Medium
|
Andrew Mitchell |
Bug Description
I had a working rsnapshot setup running on a Breezy box. After dist-upgrading to Dapper, rsnapshot runs began to fail with this kind of messages:
/bin/cp: target `/media/
-------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot daily
-------
ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Error! cp_al("
To post a comment you must log in.
The patch tries to be un-intrusive. A glance at the rsnapshot source seems to indicate that the generic case is to add a trailing slash to paths to directories. Maybe a review of paths trailing slashes is in order.
No idea if this is originally a problem with cp or rsnapshot and precisely what distribution upgrade change made this situation appear, since I dsicovered it with a Breezy -> Dapper dist-upgrade from about a week ago.
Also don't know if the problem is present upstream.