https://bugzilla.samba.org/show_bug.cgi?id=5356

           Summary: SELinux extended attributes incompatibility: Linux
                    kernel 2.6.9 and 2.6.18
           Product: rsync
           Version: 3.0.0
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Description:
========
"rsync --xattrs" cannot transfer SELinux extended file attributes when rsyncing
files between x64 (Intel Xeon) systems running different versions of the Linux
kernel -- e.g. source system running kernel 2.6.9, destination system running
2.6.18


Reproduce by:
=========

# rsync --xattrs -zva -e ssh /root/mydir/ remote:/root/mydir
receiving incremental file list
created directory /root/mydir
./
rsync: rsync_xal_set: lsetxattr(".","security.selinux") failed: Invalid
argument (22)


Comment
======

It's possible that the "lsetxattr" failure is caused by a fundamental change in
the file system data structures implementing extended SELinux file attributes
between Linux kernels 2.6.9 and 2.6.18

On the other hand, it might also be possible that the SELinux structures are
actually compatible, and that the above error is just caused by some
unsanitized parameter used in some function call...


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to