Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Unable to rsync files from RHEL 7 to RHEL 6 with SELinux enabled

    Posted on

    If i try to rsync files from a RHEL 7 to a RHEL 6 with SELinux enabled on both machines and with -XA flags on rsync I get this error:
    rsync: rsync_xal_set: lsetxattr("etc/.pwd.lock","security.selinux") failed: Invalid argument (22)

    The problem seems to be related to the fact that RHEL 7 has selinux contexts that don't exist on RHEL 6.

    Is there any way to get around this other than turning of SELinux on the RHEL 6?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat