Bug 116510 - Flexbackup cannot back up remote machines after patch CAN-2005-2965
Bug#: 116510 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: app-backup@gentoo.org Reported By: jochen@gentoo.erwied.de
Component: Applications
URL: 
Summary: Flexbackup cannot back up remote machines after patch CAN-2005-2965
Keywords:  
Status Whiteboard: 
Opened: 2005-12-23 10:42 0000
Description:   Opened: 2005-12-23 10:42 0000
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 From Michael Stewart (vericgar) (RETIRED) 2006-05-14 11:58:42 0000 -------
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 From Michael Stewart (vericgar) (RETIRED) 2006-05-14 13:34:09 0000 -------
Created an attachment (id=86773) [details]
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 From Lisa Seelye (RETIRED) 2006-05-26 11:48:45 0000 -------
In CVS, thanks.