Bug 650796
| Summary: | SELinux is preventing /bin/mount "setattr" access on /extra. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maciej Żenczykowski <zenczykowski> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:8bcccb00b80edf7d7fc9d46d6154b84374474fd1484065fd07327f68a66abc5e | ||
| Fixed In Version: | selinux-policy-3.9.7-10.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-11 22:17:04 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: | |||
|
Description
Maciej Żenczykowski
2010-11-08 04:22:07 UTC
/extra is a mountpoint for a firewire external drive, ie. /etc/fstab: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /extra ext4 defaults,acl,user_xattr,barrier=0,user,exec,noauto 1 0 before mount: $ ls -alZd /extra drwxr-xr-x. root root system_u:object_r:default_t:s0 /extra after mount: $ ls -alZd /extra drwxrwxrwt. root root system_u:object_r:default_t:s0 /extra Is there some special settings somewhere that I'm missing (for example a chcon on /extra before or after the mount)? If so, the error message could use some work. If not, the policy for mount could use some work. Miroslav can you add files_setattr_all_mountpoints(mount_t) Maciej you can add this for now by executing # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fixed in selinux-policy-3.9.7-10.fc14 selinux-policy-3.9.7-10.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-10.fc14 selinux-policy-3.9.7-10.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 selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-10.fc14 selinux-policy-3.9.7-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |