Bug 736967

Summary: SELinux is preventing irqbalance from 'getattr' accesses on the mémoire partagée Unknown.
Product: [Fedora] Fedora Reporter: panpan_du54
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:ff1364bac27abfd610f6639bcddbbc901a470d05adbe254b7313bdecb9d48e1d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-07 15:05:13 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 panpan_du54 2011-09-09 08:05:49 UTC
SELinux is preventing irqbalance from 'getattr' accesses on the mémoire partagée Unknown.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that irqbalance should be allowed getattr access on the Unknown shm by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep irqbalance /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:irqbalance_t:s0
Target Context                system_u:system_r:initrc_t:s0
Target Objects                Unknown [ shm ]
Source                        irqbalance
Source Path                   irqbalance
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-38.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40-4.fc15.x86_64
                              #1 SMP Fri Jul 29 18:46:53 UTC 2011 x86_64 x86_64
Alert Count                   50
First Seen                    ven. 09 sept. 2011 05:28:24 CEST
Last Seen                     ven. 09 sept. 2011 10:04:44 CEST
Local ID                      e8dafb8d-2cdc-46de-a5d2-97d1ee567440

Raw Audit Messages
type=AVC msg=audit(1315555484.2:2621): avc:  denied  { getattr } for  pid=567 comm="irqbalance" key=839398080  scontext=system_u:system_r:irqbalance_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=shm


Hash: irqbalance,irqbalance_t,initrc_t,shm,getattr

audit2allow

#============= irqbalance_t ==============
allow irqbalance_t initrc_t:shm getattr;

audit2allow -R

#============= irqbalance_t ==============
allow irqbalance_t initrc_t:shm getattr;

Comment 1 Miroslav Grepl 2011-09-09 09:04:53 UTC
Could add your output of

# ps -eZ |grep initrc

Comment 2 Miroslav Grepl 2011-09-09 09:05:30 UTC
*** Bug 736968 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2011-09-09 09:05:52 UTC
*** Bug 736969 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2011-09-09 09:06:13 UTC
*** Bug 736972 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2011-09-09 09:06:43 UTC
*** Bug 736974 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2011-09-09 09:07:18 UTC
*** Bug 736976 has been marked as a duplicate of this bug. ***