Re: selinux and rsync backup to zfs dataset

David C Rankin <[email protected]>
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
On 6/8/26 8:14 AM, [email protected] wrote:
> 
> BKUP_OPTIONS=(
>    --archive --one-file-system
>    --hard-links --acls --xattrs
>    --numeric-ids
>    --delete-excluded --delete-during
>    --filter="-x security.selinux"
>    --filter=${FILTERFILE}
>    --exclude-from=${EXCLFILE}
>    --verbose --stats --no-human-readable
> )
> 
> /usr/bin/rsync "${BKUP_OPTIONS[@]}" "${FS}" "${BKUPTARGET}"
> 
> leads to
> 
> rsync: [receiver] rsync_xal_set:
> lremovexattr("<targetfile>","security.selinux") failed: Permission
> denied (13)
> 
> for the target files.
> 
> Not sure, why it works for you. Can it be a difference between local and
> remote?

I can't find the actual bug report, but there were a number of 
regressions introduced in rsync within the past week or so. You may want 
to see if you can run down the details on which option this impacted:

https://www.theregister.com/ai-and-ml/2026/06/04/please-do-not-vibe-f-up-this-software-broken-backups-spark-ai-coding-row-in-rsync-project/5251189

Seems Andrew had a couple of Claude... Ooops' that flew under the radar. 
Specifically that impacted a number of the less frequently used backup 
options.

I don't know if this is your issue, but it is a distinct possibility.

-- 
David C. Rankin, J.D.,P.E.
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.