Bug 589395

Summary: SELinux is preventing /usr/sbin/tgtd (deleted) "read" access on file.
Product: [Fedora] Fedora Reporter: Phil <phil.ingram>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e413e2eac3f657cbedecf5e9e64b4188fe2f90d6d2f952e00d6bca90d220352e
Fixed In Version: selinux-policy-3.6.32-116.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-04 18:57:50 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:

Description Phil 2010-05-06 03:58:51 UTC
Summary:

SELinux is preventing /usr/sbin/tgtd (deleted) "read" access on file.

Detailed Description:

[tgtd has a permissive type (tgtd_t). This access was not denied.]

SELinux denied access requested by tgtd. It is not expected that this access is
required by tgtd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:tgtd_t:s0
Target Context                system_u:object_r:anon_inodefs_t:s0
Target Objects                file [ file ]
Source                        tgtd
Source Path                   /usr/sbin/tgtd (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-110.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux myth.at.home 2.6.32.11-99.fc12.i686.PAE #1
                              SMP Mon Apr 5 16:15:03 EDT 2010 i686 i686
Alert Count                   168
First Seen                    Sun 18 Apr 2010 11:01:46 CST
Last Seen                     Mon 26 Apr 2010 08:01:36 CST
Local ID                      3ff351e4-6c62-4f3f-b611-61aed7263a63
Line Numbers                  

Raw Audit Messages            

node=myth.at.home type=AVC msg=audit(1272234696.145:57344): avc:  denied  { read } for  pid=2584 comm="tgtd" path="anon_inode:[signalfd]" dev=anon_inodefs ino=3616 scontext=unconfined_u:system_r:tgtd_t:s0 tcontext=system_u:object_r:anon_inodefs_t:s0 tclass=file

node=myth.at.home type=SYSCALL msg=audit(1272234696.145:57344): arch=40000003 syscall=3 success=yes exit=256 a0=9 a1=bf8a0168 a2=800 a3=bf8a0968 items=0 ppid=1 pid=2584 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="tgtd" exe=2F7573722F7362696E2F74677464202864656C6574656429 subj=unconfined_u:system_r:tgtd_t:s0 key=(null)



Hash String generated from  catchall,tgtd,tgtd_t,anon_inodefs_t,file,read
audit2allow suggests:

#============= tgtd_t ==============
allow tgtd_t anon_inodefs_t:file read;

Comment 1 Miroslav Grepl 2010-05-06 08:36:50 UTC
We allow it in F13. I will add it to F12.

Comment 2 Miroslav Grepl 2010-05-11 13:14:21 UTC
Fixed in selinux-policy-3.6.32-115.fc12

Comment 3 Fedora Update System 2010-05-21 13:52:16 UTC
selinux-policy-3.6.32-116.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-116.fc12

Comment 4 Fedora Update System 2010-05-24 19:34:18 UTC
selinux-policy-3.6.32-116.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-116.fc12

Comment 5 Fedora Update System 2010-06-04 18:57:06 UTC
selinux-policy-3.6.32-116.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.