rdiff-backup-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-bugs] [bug #13576] backing up ACLs to host without posix1e


From: dean gaudet
Subject: [Rdiff-backup-bugs] [bug #13576] backing up ACLs to host without posix1e fails
Date: Thu, 30 Jun 2005 02:20:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13576>

                 Summary: backing up ACLs to host without posix1e fails
                 Project: rdiff-backup
            Submitted by: dgaudet
            Submitted on: Thu 06/30/2005 at 02:20
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

if the source host has posix1e support, and the target host does not have the
posix1e import available the backup fails with a traceback.  the problem is
that we end up invoking __str__(acl) on the remote side, which requires
posix1e support.

with -v7 i get the following traceback which is the most useful:

Sending back exception global name 'posix1e' is not defined of type
exceptions.NameError:
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
334, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 220, in
patch
    cls.CCPP.close()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 428, in
close
    while self.cache_indicies: self.shorten_cache()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 348, in
shorten_cache
    changed_flag, success_flag, inc)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 378, in
post_process
    eas_acls.AccessControlListFile.write_object(
  File "/usr/lib/python2.3/site-packages/rdiff_backup/metadata.py", line 354,
in write_object
    record = cls._object_to_record(object)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 460,
in ACL2Record
    return '# file: %s\n%s\n' % (C.acl_quote(acl.get_indexpath()), str(acl))
  File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 211,
in __str__
    slist = map(self.entrytuple_to_text, self.entry_list)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/eas_acls.py", line 220,
in entrytuple_to_text
    if type == posix1e.ACL_USER_OBJ:







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13576>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]