Bug 662344
Summary: | broken SELinux AVCs on XFS partition when running xfsdump | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Cristian Ciupitu <cristian.ciupitu> |
Component: | kernel | Assignee: | Eric Sandeen <esandeen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | anton, dchinner, dougsland, dwalsh, eparis, gansalmon, hch, ian, itamar, jonathan, kernel-maint, kmcmartin, kszysiu, madhu.chinakonda |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel-2.6.35.10-72.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 600690 | Environment: | |
Last Closed: | 2010-12-22 19:52:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 600690 | ||
Bug Blocks: |
Description
Cristian Ciupitu
2010-12-11 21:08:23 UTC
> "xfsdump: WARNING: unable to open directory: ino 704668552: Permission denied"
XFS is trying to do the open by handle ioctl here
xfsctl(path, fsfd, XFS_IOC_OPEN_BY_HANDLE, &hreq);
if that's useful. It seems that the files have proper labels on them, yes? Not sure why the AVC seems odd...
This is a result of XFS using directory inodes but having never called d_instantiate() (or more importantly security_d_instantiate()) Figure out where in the XFS code you guys are hooking your dentries to your inodes without calling d_instantiate() fix that, and these will go away.... *** Bug 600690 has been marked as a duplicate of this bug. *** http://marc.info/?l=linux-fsdevel&m=129013218025665&2=2 Fixes this right up. Not upstream yet. -Eric kernel-2.6.35.10-69.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/kernel-2.6.35.10-69.fc14 kernel-2.6.35.10-72.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/kernel-2.6.35.10-72.fc14 kernel-2.6.35.10-72.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kernel'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/kernel-2.6.35.10-72.fc14 kernel-2.6.35.10-72.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. kernel-2.6.34.8-67.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/kernel-2.6.34.8-67.fc13 kernel-2.6.34.8-68.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/kernel-2.6.34.8-68.fc13 kernel-2.6.34.8-68.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |