Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103393 - rsnapshot 1.2.2 released, but broken - don't use
Summary: rsnapshot 1.2.2 released, but broken - don't use
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bryan Østergaard (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 17:25 UTC by John Altstadt
Modified: 2005-08-30 10:59 UTC (History)
0 users

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


Attachments
proposed ebuild for new version (rsnapshot-1.2.2.ebuild,1.06 KB, text/plain)
2005-08-22 17:27 UTC, John Altstadt
Details
ebuild incorporating werner maier's patch (rsnapshot-1.2.2.ebuild,1.04 KB, text/plain)
2005-08-24 06:38 UTC, John Altstadt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Altstadt 2005-08-22 17:25:47 UTC
New release with helpful bug fixes.

The new ebuild file is trivial, simply renaming the old 1.2.1 ebuild file works,
however I have incorporated the patch in bug #99065 for good measure.

Reproducible: Always
Steps to Reproduce:
Comment 1 John Altstadt 2005-08-22 17:27:18 UTC
Created attachment 66605 [details]
proposed ebuild for new version
Comment 2 werner maier 2005-08-24 00:45:32 UTC
please change the ebuild as follows:

instead of 
RDEPEND="[...]
        >=net-misc/openssh-3.7.1_p2-r1
        [...]"

You should use 
RDEPEND="[...]
        virtual/ssh
        [...]"

rsnapshot does indeed work also with ssh from ssh.com.
If one uses net-misc/ssh instead of net-misc/openssh
rsnapshot should be able to be installed. 
Comment 3 John Altstadt 2005-08-24 06:38:17 UTC
Created attachment 66747 [details]
ebuild incorporating werner maier's patch

Seems to emerge okay, however I only have the original openssh dependency
installed.
Comment 4 werner maier 2005-08-29 02:04:41 UTC
should work ok, as I had manually changed the openssh-dependency to virtual/ssh
in rsnapshot-1.2.1.ebuild and it did build and runs fantastic w/ net-misc/ssh.

As net-misc/openssh and net-misc/ssh both do PROVIDE "virtual/ssh", 
this should be ok for all.

thank You for incorporating my patch.

regards. 

Werner
Comment 5 werner maier 2005-08-30 06:15:24 UTC
ebuild release works for me, but rsnapshot 1.2.2 seems to have a bug.

i cannot rsnapshot a config line like

backup  root@hostname:/    hostname/

the corresponding rsync-line misses the trailing "/", so only 
root@hostname: will be backed up, not root@hostname:/

reverting to 1.2.1 (with virtual/ssh) solved the problem. 
Comment 6 John Altstadt 2005-08-30 10:59:46 UTC
Bugfix rsnapshot 1.2.3 was released on 8/29, however, the author has found
further problems and is now recommending that people stick with version 1.2.1
until he fixes them. As a result, I am marking this as Resolved/Later. I will
reopen when the problems are fixed upstream.

The problems stem from not using --relative in the conf file. In the mean time,
if you don't want to revert, you can change your backup line to:
  backup  root@hostname:/.    hostname/
with a '.' protecting the '/' trailing the source.

You should check out the rsnapshot mailing list at
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss and add your
voice to the people who don't want --relative to be a default flag.