[Python-apps-team] Bug#881347: rdiff-backup: Crashing on Exception '[Errno 61] No data available'
jmtd at debian.org
jmtd at debian.org
Fri Nov 10 15:49:02 UTC 2017
Package: rdiff-backup
Version: 1.2.8-7
Severity: normal
Tags: upstream patch
Forwarded: https://github.com/sol1/rdiff-backup/issues/20
This has just started to happen to me for my root filesystem backup, which runs
nightly.I think it's failed 2-3 times now, and I'm not sure what the trigger
was. This seems to have been reported upstream (or at least GH) where there's a
simple patch that I am trying locally. I'll report whether it works.
Error output:
> Previous backup seems to have failed, regressing destination now.
> Exception '[Errno 61] No data available' raised of class '<type 'exceptions.IOError'>':
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in error_check_Main
> try: Main(arglist)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in Main
> take_action(rps)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in take_action
> elif action == "backup": Backup(rps[0], rps[1])
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in Backup
> backup_final_init(rpout)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in backup_final_init
> checkdest_if_necessary(rpout)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in checkdest_if_necessary
> dest_rp.conn.regress.Regress(dest_rp)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in Regress
> for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281, in __call__
> last_branch.fast_process(*args)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 268, in fast_process
> if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 292, in restore_orig_regfile
> rpath.copy_attribs(rf.metadata_rorp, tf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 181, in copy_attribs
> if Globals.eas_write: rpout.write_ea(rpin.get_ea())
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 1347, in write_ea
> ea.write_to_rp(self)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/eas_acls.py", line 111, in write_to_rp
> self.clear_rp(rp)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/eas_acls.py", line 91, in clear_rp
> rp.conn.xattr.removexattr(rp.path, name, rp.issym())
> Traceback (most recent call last):
> File "/usr/bin/rdiff-backup", line 30, in <module>
> rdiff_backup.Main.error_check_Main(sys.argv[1:])
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in error_check_Main
> try: Main(arglist)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in Main
> take_action(rps)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in take_action
> elif action == "backup": Backup(rps[0], rps[1])
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in Backup
> backup_final_init(rpout)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in backup_final_init
> checkdest_if_necessary(rpout)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in checkdest_if_necessary
> dest_rp.conn.regress.Regress(dest_rp)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in Regress
> for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281, in __call__
> last_branch.fast_process(*args)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 268, in fast_process
> if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 292, in restore_orig_regfile
> rpath.copy_attribs(rf.metadata_rorp, tf)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 181, in copy_attribs
> if Globals.eas_write: rpout.write_ea(rpin.get_ea())
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 1347, in write_ea
> ea.write_to_rp(self)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/eas_acls.py", line 111, in write_to_rp
> self.clear_rp(rp)
> File "/usr/lib/python2.7/dist-packages/rdiff_backup/eas_acls.py", line 91, in clear_rp
> rp.conn.xattr.removexattr(rp.path, name, rp.issym())
> IOError: [Errno 61] No data available
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (900, 'stable'), (700, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rdiff-backup depends on:
ii libc6 2.24-11
ii librsync1 0.9.7-10+b1
ii python 2.7.13-2
ii python2.7 2.7.13-2
Versions of packages rdiff-backup recommends:
ii python-pylibacl 0.5.3-1
ii python-pyxattr 0.6.0-2
rdiff-backup suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/pyshared/rdiff_backup/eas_acls.py (from rdiff-backup package)
More information about the Python-apps-team
mailing list