| Summary: | SELinux is preventing access to files with the label, file_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nmolrai |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:49c17763759831d6b44421fb22759bc666b856de6e2629a5b4af0b29e13b48d6 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-07 09:55:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 675469 *** |
Summary: SELinux is preventing access to files with the label, file_t. Detailed Description: [SELinux is in permissive mode. This access was not denied.] 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 system_u:system_r:logrotate_t:s0-s0:c0.c1023 Target Context system_u:object_r:file_t:s0 Target Objects /etc/logrotate.d/proftpd [ file ] Source logrotate Source Path /usr/sbin/logrotate Port <Unknown> Host (removed) Source RPM Packages logrotate-3.7.8-4.fc12 Target RPM Packages proftpd-1.3.2d-1.fc12 Policy RPM selinux-policy-3.6.32-41.fc12 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Permissive Plugin Name file Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686 Alert Count 4 First Seen Sat 08 Jan 2011 03:41:04 PM GMT Last Seen Wed 12 Jan 2011 10:38:05 AM GMT Local ID fa3808bd-29d0-4964-af75-de41a58f9183 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1294828685.16:32): avc: denied { read } for pid=2822 comm="logrotate" name="proftpd" dev=dm-0 ino=15175 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file node=(removed) type=AVC msg=audit(1294828685.16:32): avc: denied { open } for pid=2822 comm="logrotate" name="proftpd" dev=dm-0 ino=15175 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1294828685.16:32): arch=40000003 syscall=5 success=yes exit=5 a0=940f438 a1=8000 a2=0 a3=940f3b0 items=0 ppid=2820 pid=2822 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="logrotate" exe="/usr/sbin/logrotate" subj=system_u:system_r:logrotate_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-41.fc12,file,logrotate,logrotate_t,file_t,file,read audit2allow suggests: #============= logrotate_t ============== allow logrotate_t file_t:file { read open };