Bug 788928

Summary: SELinux is preventing /usr/sbin/collectd from 'ipc_lock' accesses on the None .
Product: [Fedora] Fedora Reporter: cje
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5a2ffdabc7306bc7b25e4269ff3c644d2ca2f0d42d160942cdb560252539e3d1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 16:40:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description cje 2012-02-09 10:00:08 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/collectd from 'ipc_lock' accesses on the None .
time:           Thu 09 Feb 2012 09:59:49 GMT

description:
:SELinux is preventing /usr/sbin/collectd from 'ipc_lock' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that collectd should be allowed ipc_lock access on the  <Unknown> 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 collectd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:collectd_t:s0
:Target Context                system_u:system_r:collectd_t:s0
:Target Objects                 [ None ]
:Source                        collectd
:Source Path                   /usr/sbin/collectd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           collectd-4.10.4-1.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.x86_64 #1 SMP Fri Feb 3
:                              20:08:08 UTC 2012 x86_64 x86_64
:Alert Count                   8
:First Seen                    Mon 06 Feb 2012 11:46:48 GMT
:Last Seen                     Thu 09 Feb 2012 17:57:55 GMT
:Local ID                      51db4ddf-cd5b-4fb1-8912-b7de21098c9b
:
:Raw Audit Messages
:type=AVC msg=audit(1328810275.562:29): avc:  denied  { ipc_lock } for  pid=1037 comm="collectd" capability=14  scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:system_r:collectd_t:s0 tclass=capabilitynode=(removed) type=SYSCALL msg=audit(1328810275.562:29): arch=c000003e syscall=149 success=yes exit=0 a0=7f59e6c5e000 a1=8000 a2=3 a3=7fff473e4470 items=0 ppid=1 pid=1037 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="collectd" exe="/usr/sbin/collectd" subj=system_u:system_r:collectd_t:s0 key=(null)
:
:
:Hash: collectd,collectd_t,collectd_t,None,ipc_lock
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-03-15 16:40:31 UTC
This is fixed in the latest policy.