Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173672 - app-backup/flexbackup-1.2.1-r3 remote host buffer test is broken
Summary: app-backup/flexbackup-1.2.1-r3 remote host buffer test is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 14:08 UTC by John R. Graham
Modified: 2007-04-15 20:52 UTC (History)
1 user (show)

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


Attachments
Patch fixes remote buffer test. (flexbackup-1.2.1-remote-bufftest.patch,1.79 KB, patch)
2007-04-07 14:41 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2007-04-07 14:08:26 UTC
The "flexbackup-1.2.1-secure-tempfile.patch" introduced in flexbackup-1.2.1-r2 to increase the uniqueness of the temporary files inadvertently broke the remote buffer test used when flexbackup backs up remote hosts.

Although the patch author properly manages temporary files on the remote host during the actual backup, during the remote buffer test (in the test_bufferprog() function) the temporary directory is not created on the remote machine.

There's also a weakness in the code that parses the messages retrieved from the remote host:  flexbackup is actually not detecting the failure and is reporting success even though the remote buffer tests aren't actually run.

I've included a patch that adds the code to properly create the temporary directory on the remote host (and delete it when the test is done) and improves the parsing of the results so that failures like this aren't missed.

The patch was generated against flexbackup-1.2.1-r3 and is additive to all the patches that that ebuild currently applies.

- John
Comment 1 John R. Graham gentoo-dev 2007-04-07 14:41:17 UTC
Created attachment 115669 [details, diff]
Patch fixes remote buffer test.
Comment 2 John R. Graham gentoo-dev 2007-04-15 20:52:40 UTC
This fix is in Portage now as flexbackup-1.2.1-r4 thanks to the help of the Gentoo Sunrise team.