First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 173672
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John R. Graham <john_r_graham@mindspring.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
flexbackup-1.2.1-remote-bufftest.patch Patch fixes remote buffer test. patch John R. Graham 2007-04-07 14:41 0000 1.79 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173672 depends on: Show dependency tree
Bug 173672 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-07 14:08 0000
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 From John R. Graham 2007-04-07 14:41:17 0000 -------
Created an attachment (id=115669) [details]
Patch fixes remote buffer test.

------- Comment #2 From John R. Graham 2007-04-15 20:52:40 0000 -------
This fix is in Portage now as flexbackup-1.2.1-r4 thanks to the help of the
Gentoo Sunrise team.

First Last Prev Next    No search results available      Search page      Enter new bug