[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] fails trying to save xattr where no xattr exists
From: |
martin f krafft |
Subject: |
[rdiff-backup-users] fails trying to save xattr where no xattr exists |
Date: |
Sun, 13 Jul 2008 20:11:39 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
I am trying to backup a host and rdiff backup fails spectacularly:
Regular copying ('etc', 'apache2', 'passwd', 'passwd.bit') to
rdiff-backup/etc/apache2/passwd/rdiff-backup.tmp.476
Writing file object to rdiff-backup/etc/apache2/passwd/rdiff-backup.tmp.476
Copying attributes from ('etc', 'apache2', 'passwd', 'passwd.bit') to
rdiff-backup/etc/apache2/passwd/rdiff-backup.tmp.476
Sending back exception [Errno 1] Operation not permitted of type
exceptions.IOError:
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
334, in answer_request
result = apply(eval(request.function_string), argument_list)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 232, in
patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.4/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 529, in
fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 556, in
patch_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 178, in
copy_attribs
if Globals.eas_write: rpout.write_ea(rpin.get_ea())
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 1256, in
write_ea
ea.write_to_rp(self)
File "/var/lib/python-support/python2.4/rdiff_backup/eas_acls.py", line 110,
in write_to_rp
rp.conn.xattr.setxattr(rp.path, name, value)
This suggests that there's some xattr-related stuff going on, but
/etc/apache2/passwd/passwd.bit does not have any xattr attached,
according to getfattr; the filesystem isn't even mounted with the
user_xattr option. Interestingly, rdiff-backup thinks that extended
attributes are supported:
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists On
Extended attributes On
[...]
And it recognises that the destination also supports them:
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
[...]
Access control lists On
Extended attributes On
python-pylibacl and python-pyxattr (not python-xattr) are installed.
This is a Debian system.
Note that I am using 1.1.16, and 1.1.15 was previously able to back
this host up without errors.
What's going on? How can I fix this?
--
martin | http://madduck.net/ | http://two.sentenc.es/
"to have the reputation of possessing the most perfect social tact,
talk to every woman as if you loved her,
and to every man as if he bored you."
-- oscar wilde
spamtraps: address@hidden
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
- [rdiff-backup-users] fails trying to save xattr where no xattr exists,
martin f krafft <=