Bug 545487 - 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 DUPLICATE of bug 537613
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9c309e23c73...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-08 17:15 UTC by Gleb Sharkunov
Modified: 2009-12-09 13:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-09 13:58:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gleb Sharkunov 2009-12-08 17:15:33 UTC
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;

Comment 1 Daniel Walsh 2009-12-09 13:58:06 UTC

*** This bug has been marked as a duplicate of bug 537613 ***


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