Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85462 - mark rdiff-backup-0.13.4 unstable
Summary: mark rdiff-backup-0.13.4 unstable
Status: RESOLVED DUPLICATE of bug 78923
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL: http://lists.gnu.org/archive/html/rdi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 23:02 UTC by Sheldon Hearn
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Hearn 2005-03-15 23:02:42 UTC
The ebuild for rdiff-backup-0.13.4 marks it stable on x86. However, it is a development branch and the software is mostly unmaintained at the moment.

Specifically, it suffers from a hard to trace error in remote restores. rdiff-backup-0.12.7 does not suffer from this problem.

The URL given above points to the thread on the rdiff-backup users mailing list, in which several of us came to the conclusion that the ebuild for rdiff-backup-0.13.4 should be marked unstable again.

Note that the error discussed in the thread "Truncated header string" has been reported numerous times on the mailing list, but in the case of remote restores, has never been solved.

Reproducible: Sometimes
Steps to Reproduce:
1. remote-backup backup-test user@host::remote-backup-test
2. add, remove modify files in backup-test
3. repeat steps one and two several times
4. remote-backup --restore-as-of now user@host::remote-backup-test restore-test

Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in 
Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 239, in 
take_action
    elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 465, in 
Restore
    inc_rpath, dest_rp, time)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 45, in 
Restore
    TargetS.patch(target, diff_iter)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 309, in 
patch
    ITR(diff.index, diff)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279, 
in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 625, in 
fast_process
    self.patch_to_temp(rp, diff_rorp, tf)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/restore.py", line 633, in 
patch_to_temp
    rpath.copy(diff_rorp, new)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 96, in 
copy
    if rpin.isreg(): copy_reg_file(rpin, rpout, compress)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 118, in 
copy_reg_file
    rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 947, in 
write_from_fileobj
    copyfileobj(fp, outfp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 58, in 
copyfileobj
    inbuf = inputfp.read(blocksize)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 1155, in 
read
    def read(self, length = -1): return self.file.read(length)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/iterfile.py", line 117, 
in read
    if not self.addtobuffer(): break
  File "/usr/lib/python2.3/site-packages/rdiff_backup/iterfile.py", line 132, 
in addtobuffer
    type, data = self.iwf._get()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/iterfile.py", line 401, 
in _get
    if not self.buf: self.buf += self.file.read()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 513, 
in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 445, 
in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 367, 
in reval
    if isinstance(result, Exception): raise result
AssertionError: (('diskimages',), ('diskimages', 'dell', 'ED5049A0.tar.gz'))
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in 
Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 227, in 
take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 352, 
in Server
    self.get_response(-1)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 314, 
in get_response
    try: req_num, object = self._get()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 230, 
in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem 
probably originated remotely)

Expected Results:  
No output is expected, and restore-test is expected to be a carbon copy of
backup-test.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Mar  7 2005, 03:29:15)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -msse2 -mmmx -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -msse2 -mmmx -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.is.co.za/mirror/gentoo.org ftp://gentoo.ccccom.com
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 arts avi berkdb bitmap-fonts bonobo caps cdr crypt cups
curl doc dvd emboss encode esd evo fam flac font-server foomaticdb fortran gdbm
gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib java jpeg
junit libg++ libwww mad mailwrapper mikmod mmx motif mozilla mp3 mpeg ncurses
nls norhino oggvorbis opengl oss pam pdflib perl png pnp postgres ppds proxy
python quicktime readline samba sdl slang spell sse sse2 ssl tcltk tcpd tetex
threads tiff truetype truetype-fonts type1-fonts xinerama xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Thomas Bettler 2005-04-03 04:58:35 UTC
See this bug, it's duplicate 78923
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2005-05-02 14:07:34 UTC

*** This bug has been marked as a duplicate of 78923 ***