Re: selinux and rsync backup to zfs dataset

Andrei Borzenkov <[email protected]>
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
07.06.2026 17:29, [email protected] wrote:
...
 >>>>> If the rsync option --xattrs is used, I get errors like this:>>>>>
>>>>> rsync: [receiver] rsync_xal_set:
>>>>> lremovexattr("<file>","security.selinux") failed: Permission
>>>>> denied
>>>>> (13)
>>>>>
>>>>> for every file to backup.
...
 > > All files are labeled, but differently on backup source (client) and
> backup target (server).
> 

rsync removes xattr on the destination if this xattr was not present on 
the source.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.