Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116510 - Flexbackup cannot back up remote machines after patch CAN-2005-2965
Summary: Flexbackup cannot back up remote machines after patch CAN-2005-2965
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 10:42 UTC by Jochen Erwied
Modified: 2006-05-26 11:48 UTC (History)
3 users (show)

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


Attachments
flexbackup-1.2.1-secure-tempfile.patch (flexbackup-1.2.1-secure-tempfile.patch,2.51 KB, patch)
2006-05-14 13:34 UTC, Michael Stewart (vericgar) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Erwied 2005-12-23 10:42:09 UTC
The patch breaks the ability to backup remote machines.

The additional directory created for security reasons is only created locally, but not promoted to the remote machine.

See also bug #105000

The error looks like this:

|------------------------------------------------------------
| File number 12, tape index 200512202202
| Backup of: border:/etc
| Date of this level 2 backup: Thu Dec 22 05:31:07 2005
| Date of last level 1 backup: Wed Dec 21 05:21:00 2005
|------------------------------------------------------------
| ssh border 'touch -t "200512210521.00" /tmp/6136/refdate.6136'
| ssh border 'printf "mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz \
|   deb rpm bz2 lzo" > /tmp/6136/nocompress.6136'
| ssh border 'printf "Volume Label:\nlevel 2 border:/etc Thu Dec 22 \
|   05:31:07 2005 afio+gzip from joker\n\n" > /tmp/6136/label.6136'
| /tmp/6136/collectexit.6136.sh ssh border 'cd "/etc" && (printf \
|   "//--/tmp/6136/label.6136 flexbackup.volume_header_info\n" && find . \
|   -depth -xdev ! -type s -newer "/tmp/6136/refdate.6136" ! -regex \
|   ".*/[Cc]ache/.*" ! -regex ".*~"$ -print ) | afio -o -E \
|   /tmp/6136/nocompress.6136 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v -' | \
|   /tmp/6136/collectexit.6136.sh cat > "/dev/nst0"
| ssh border 'rm -f /tmp/6136/refdate.6136 /tmp/6136/nocompress.6136 \
|   /tmp/6136/label.6136'
| [ ! -e /tmp/6136/exitstatus.6136 ]
|------------------------------------------------------------
touch: cannot touch `/tmp/6136/refdate.6136': No such file or directory

ERROR: non-zero exit from:
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-05-14 11:58:42 UTC
I just ran into this bug and am looking into a patch for it. I see the metadata for this package lists mholzer. Are you still maintaining this package (as this bug is assigned to maintainer-needed) or can I take it over? This bug has been haunting my remote backups for a while and I finally have time to look into a fix.
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-05-14 13:34:09 UTC
Created attachment 86773 [details, diff]
flexbackup-1.2.1-secure-tempfile.patch

This is a replacement for flexbackup-1.2.1-CAN-2005-2965.patch that fixes the issues with remote backup.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2006-05-26 11:48:45 UTC
In CVS, thanks.