Your message dated Sat, 12 Sep 2009 14:25:24 +0200
with message-id <1252758324.14291.36.ca...@bureau>
and subject line Re: Re: [rdiff-backup-users] FW: Bug#252664: rdiff-backup: 
gives truckloads of exception tracebacks
has caused the Debian Bug report #252664,
regarding rdiff-backup: gives truckloads of exception tracebacks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
252664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252664
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rdiff-backup
Version: 0.13.3.jgoerzen-3
Severity: normal

Hi,

when doing my first backup, I said --exclude /proc instead of
--exclude proc. After correcting this and re-invoking rdiff-backup,
the second backup run gave about 30 Klines of output like this:

|Processing changed file proc/9989/task/9989/attr/fscreate
|Exception '[Errno 22] Invalid argument' raised of class 'exceptions.IOError':
|  File "/usr/lib/python2.3/site-packages/rdiff_backup/robust.py", line 32, in 
check_common_error
|    try: return function(*args)
|  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 934, 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 1145, in 
read
|    def read(self, length = -1): return self.file.read(length)
|  File "/usr/lib/python2.3/site-packages/rdiff_backup/iterfile.py", line 417, 
in read
|    def read(self, l=-1): raise self.exc
|
|UpdateError proc/9989/task/9989/attr/fscreate [Errno 22] Invalid argument

Having a backup program raising unhandled exceptions is quite
disturbing. Please consider properly handling this case.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-janeway
Locale: LANG=C, LC_CTYPE=C

Versions of packages rdiff-backup depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  librsync1                   0.9.6-8      Binary diff library based on the r
ii  python2.3                   2.3.4-1      An interactive high-level object-o
ii  rdiff                       0.9.6-8      Binary diff tool for signature-bas

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi, 

Thanks for the report.

> The output you pasted seems to indicate rdiff-backup was handling the
> exceptions.  That "UpdateError" message comes from rdiff-backup.  In
> general if there is a unhandled exception in python the program exits
> immediately.
> 
> I just tried this on my machine, when run as normal user, everything
> works fine (although there will be tons of error messages when trying
> to read /proc).  When run as root it seems to hang, probably on a file
> read to some special proc file (that ordinary users don't have access
> to).  That's not really ideal but I don't see offhand how to fix stuff
> like that.

This issue has been solved by newer versions.
Please upgrade to the lastest version available in sid.
Feel free to reopen the bug if it's still present.

Bye,
-- 
Carl Chenet





--- End Message ---

Reply via email to