Bug 545487
| Summary: | SELinux is preventing access to files with the label, file_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gleb Sharkunov <nocountryman> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:9c309e23c733e01a89801654497fa20c5d416bb2524af2958cc4c48e2f739a18 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-09 13:58:06 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: | |||
*** This bug has been marked as a duplicate of bug 537613 *** |
Summary: SELinux is preventing access to files with the label, file_t. Detailed Description: SELinux permission checks on files labeled file_t are being denied. file_t is the context the SELinux kernel gives to files that do not have a label. This indicates a serious labeling problem. No files on an SELinux box should ever be labeled file_t. If you have just added a new disk drive to the system you can relabel it using the restorecon command. Otherwise you should relabel the entire file system. Allowing Access: You can execute the following command as root to relabel your computer system: "touch /.autorelabel; reboot" Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context unconfined_u:object_r:file_t:s0 Target Objects /sources/binutils-build3/ld/tmpdir/vmpnp.so [ file ] Source vmpnp Source Path /sources/binutils-build3/ld/tmpdir/vmpnp Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.6.32-49.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name file Host Name (removed) Platform Linux (removed) 2.6.31.6-145.fc12.i686.PAE #1 SMP Sat Nov 21 16:12:37 EST 2009 i686 athlon Alert Count 6 First Seen Tue 08 Dec 2009 07:00:15 PM EET Last Seen Tue 08 Dec 2009 07:00:40 PM EET Local ID ba4c62dc-563e-4de3-8829-5c458faa6817 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1260291640.311:22956): avc: denied { execmod } for pid=22485 comm="vmpnp" path="/sources/binutils-build3/ld/tmpdir/vmpnp.so" dev=sda5 ino=1013639 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1260291640.311:22956): arch=40000003 syscall=125 success=no exit=-13 a0=40023000 a1=1000 a2=5 a3=bf8f1ff0 items=0 ppid=29334 pid=22485 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="vmpnp" exe="/sources/binutils-build3/ld/tmpdir/vmpnp" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-49.fc12,file,vmpnp,unconfined_t,file_t,file,execmod audit2allow suggests: #============= unconfined_t ============== allow unconfined_t file_t:file execmod;