DO NOT REPLY [Bug 5356] New: SELinux extended attributes incompatibility: Linux kernel 2.6.9 and 2.6.18

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 27 16:49:11 GMT 2008


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: wayned at samba.org
        ReportedBy: nnnnnn+bugzilla-rsync at gmail.com
         QAContact: rsync-qa at samba.org


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.


More information about the rsync mailing list