Re: selinux and rsync backup to zfs dataset
| Newsgroups | gmane.linux.suse.general |
|---|---|
| Message-ID | <[email protected]> |
On Dienstag, 9. Juni 2026 07:37:06 Mitteleuropäische Sommerzeit Andrei Borzenkov wrote: > 08.06.2026 22:36, [email protected] wrote: > ... > > > /usr/bin/rsync --archive --one-file-system --acls --xattrs > > --filter=-x security.selinux --verbose --verbose --stats > > --no-human-readable /boot/ backup:/var/backup/machines/client/boot/ > > > > opening connection using: ssh backup rsync --server > > -vvlogDtpAXrxe.iLsfxCIvu --stats . /var/backup/machines/client/boot/ > > (8 args) > > sending incremental file list > > lots of: > > [sender] hiding xattr security.selinux because of pattern > > security.selinux > > I get this too. But after that on the receiving side I get > > > delta-transmission enabled > [generator] protecting xattr security.selinux because of pattern > security.selinux > test1 > > Both when the source has and has not SELinux label. > > What version of rsync? From the NEWS file > > # NEWS for rsync 3.2.0 (19 Jun 2020) > ... > - Fix xattr filter rules losing an 'x' attribute in a non-local > transfer. on client: Name : rsync Version : 3.4.3 Release : 1.1 Architecture: x86_64 Install Date: Mo 01 Jun 2026 20:37:52 CEST Group : Productivity/Networking/Other Size : 1008611 License : GPL-3.0-or-later Signature : RSA/SHA512, So 24 Mai 2026 19:39:06 CEST, Key ID 35a2f86e29b700a4 Source RPM : rsync-3.4.3-1.1.src.rpm Build Date : Do 21 Mai 2026 08:37:59 CEST Build Host : reproducible Packager : https://bugs.opensuse.org Vendor : openSUSE URL : https://rsync.samba.org/ on server: Name : rsync Version : 3.4.1 Release : 160000.4.1 Architecture: x86_64 Install Date: Mi 03 Jun 2026 16:23:53 CEST Group : Productivity/Networking/Other Size : 978157 License : GPL-3.0-or-later Signature : RSA/SHA512, Di 02 Jun 2026 11:13:47 CEST, Key ID fec28eaf09d9ea69 Source RPM : rsync-3.4.1-160000.4.1.src.rpm Build Date : Di 19 Mai 2026 15:03:02 CEST Build Host : reproducible Packager : https://www.suse.com/ Vendor : SUSE LLC <https://www.suse.com/> VCS : https://src.suse.de/pool/rsync? trackingbranch=slfo-1.2#36c4a3b340b7618716d30dc544e4083b7232d38081ec02ba4f201914154da18e URL : https://rsync.samba.org/
smime.p7s
(application/pkcs7-signature, 3.9 KB) - not displayed