First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 6546
Product:
Component:
Status: REOPENED
Resolution:
Assigned To: Wayne Davison <wayned@samba.org>
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: Dave Yost <Dave@Yost.com>
Add CC:
CC:
QA Contact:
URL:
Summary:
Keywords:
Flags: Requestee:
  ()

Attachment Type Creator Created Size Flags Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 6546 depends on: Show dependency tree
Show dependency graph
Bug 6546 blocks:

Additional Comments:









View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-07-09 20:18 CST
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?

------- Comment #1 From Wayne Davison 2009-09-05 11:52:01 CST -------
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.

------- Comment #2 From Matt McCutchen 2009-09-05 14:38:27 CST -------
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.

------- Comment #3 From Dave Yost 2009-09-05 15:36:44 CST -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug