Re: selinux and rsync backup to zfs dataset

[email protected]
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
On Dienstag, 9. Juni 2026 00:14:31 Mitteleuropäische Sommerzeit David C 
Rankin wrote:
> 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/5
> 251189
> 
> 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.

Indeed with the latest rsync version the error messages disappeared. 
Even --filter="-x security.selinux" isn't nessessary, --xattrs works as 
before.

Name        : rsync
Version     : 3.4.3
Release     : 2.1
Architecture: x86_64
Install Date: So 14 Jun 2026 16:31:30 CEST
Group       : Productivity/Networking/Other
Size        : 1008611
License     : GPL-3.0-or-later
Signature   : RSA/SHA512, Fr 12 Jun 2026 19:34:35 CEST, Key ID 
35a2f86e29b700a4
Source RPM  : rsync-3.4.3-2.1.src.rpm
Build Date  : Di 09 Jun 2026 23:24:43 CEST

Thx for this hint.

Bye.
Michael.
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
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.