View Bug Activity | Format For Printing | XML | Clone This Bug
See https://bugzilla.redhat.com/show_bug.cgi?id=450360 Z% rsync -aHSAXR backup / ... [lots of errors like the ones below] rsync: rsync_xal_clear: lremovexattr("backup/vaults/s4/data/2009-07-04_05-09/var/log/.secure.P1N7VQ","security.selinux") failed: Permission denied (13) rsync: rsync_xal_clear: lremovexattr("backup/vaults/s4/data/2009-07-04_05-09/var/log/audit/.audit.log.GHzRLK","security.selinux") failed: Permission denied (13) rsync: rsync_xal_clear: lremovexattr("backup/vaults/s4/data/2009-07-04_05-09/var/run/.utmp.wjUr8E","security.selinux") failed: Permission denied (13) rsync: rsync_xal_clear: lremovexattr("backup/vaults/s4/data/2009-07-04_05-09/var/run/mysqld/.mysqld.pid.DAHgkC","security.selinux") failed: Permission denied (13) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] Z% Is rsync trying to tell me by that last line about main.c that there is a bug?
The last line is telling you that there were prior errors in either transferring files or file permissions/attributes. In this case, all the xattr removal failures.
Ignore the remark in comment #0. The issue is that SELinux won't allow any process to remove the "security.selinux" attribute, so perhaps rsync should not try. OTOH, if SELinux is disabled, removing the attribute might be a useful thing to do. One option would be to block this on bug 4573 and require the user to specify --xattr-filter='P security.selinux' when desired.
Ordinary warnings and data dependent errors are not bugs and shouldn't look like bugs. Source code file name and line number makes it look like a bug and should not be shown except for a bug.