Bug 543464
| Summary: | SELinux is preventing access to files with the label, file_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adrin Jalali <adrin.jalali> |
| 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: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:3f7d60a26825cccdd15b817bc2daa9f5fa65f0268d07a7c5e66e2822e7f82f8e | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-02 14:56:54 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:system_r:portreserve_t:s0 Target Context unconfined_u:object_r:file_t:s0 Target Objects Backup [ dir ] Source portrelease Source Path /sbin/portreserve Port <Unknown> Host (removed) Source RPM Packages portreserve-0.0.4-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-46.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name file Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 Alert Count 4 First Seen Wed 02 Dec 2009 04:35:33 PM IRST Last Seen Wed 02 Dec 2009 04:35:33 PM IRST Local ID c8b5460b-ee02-45c6-8d5b-46730afed5f1 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259759133.759:28845): avc: denied { search } for pid=12045 comm="portrelease" name="Backup" dev=sda1 ino=7561218 scontext=unconfined_u:system_r:portreserve_t:s0 tcontext=unconfined_u:object_r:file_t:s0 tclass=dir node=(removed) type=SYSCALL msg=audit(1259759133.759:28845): arch=c000003e syscall=2 success=no exit=-13 a0=7fff3c3c94a0 a1=0 a2=0 a3=ffffffff items=0 ppid=12033 pid=12045 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="portrelease" exe="/sbin/portreserve" subj=unconfined_u:system_r:portreserve_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-46.fc12,file,portrelease,portreserve_t,file_t,dir,search audit2allow suggests: #============= portreserve_t ============== allow portreserve_t file_t:dir search;