Bug 675469 - SELinux is preventing access to files with the label, file_t.
Summary: SELinux is preventing access to files with the label, file_t.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:b82c3f2abd4...
: 675470 675471 675585 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-05 21:01 UTC by nmolrai
Modified: 2011-07-23 18:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-07 09:54:42 UTC
Type: ---


Attachments (Terms of Use)

Description nmolrai 2011-02-05 21:01:55 UTC
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:abrt_t:s0
Target Context                system_u:object_r:file_t:s0
Target Objects                /var/cache/abrt/kerneloops-1269371395-1/uid [ file
                              ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-0.0.11-1.fc12
Target RPM Packages           
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                   1
First Seen                    Sun 09 Jan 2011 07:07:17 PM GMT
Last Seen                     Sun 09 Jan 2011 07:07:17 PM GMT
Local ID                      c51b3871-35cb-43ac-a844-935e81eaf201
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1294600037.412:7): avc:  denied  { open } for  pid=1350 comm="abrtd" name="uid" dev=dm-0 ino=169991 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1294600037.412:7): arch=40000003 syscall=5 success=yes exit=9 a0=9ea258c a1=8000 a2=1b6 a3=d8b490 items=0 ppid=1 pid=1350 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrtd" exe="/usr/sbin/abrtd" subj=system_u:system_r:abrt_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,file,abrtd,abrt_t,file_t,file,open
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t file_t:file open;

Comment 1 Miroslav Grepl 2011-02-07 09:54:42 UTC
Fedora 12 is no longer supported. Any chance you could upgrade to newer version?

Btw. you have labeling issue.

# touch /.autorelabel;reboot

Comment 2 Miroslav Grepl 2011-02-07 09:55:20 UTC
*** Bug 675471 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2011-02-07 09:55:48 UTC
*** Bug 675585 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2011-02-07 09:56:10 UTC
*** Bug 675470 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.