Bug 1027359

Summary: SELinux is preventing /usr/sbin/glusterfsd from using the 'sigkill' accesses on a process.
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a068296150a9d7bcf151265f269fd473ad12e61f7b03ba608c570b44632e89a5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-22 13:01:52 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 Eric Blake 2013-11-06 16:10:38 UTC
Description of problem:
SELinux is preventing /usr/sbin/glusterfsd from using the 'sigkill' accesses on a process.

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

If you believe that glusterfsd should be allowed sigkill access on processes labeled rpcd_t 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 glusterfs /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:glusterd_t:s0
Target Context                system_u:system_r:rpcd_t:s0
Target Objects                 [ process ]
Source                        glusterfs
Source Path                   /usr/sbin/glusterfsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           glusterfs-3.4.1-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.11.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.10.7-200.fc19.x86_64 #1 SMP Thu
                              Aug 15 23:19:45 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-11-06 08:57:55 MST
Last Seen                     2013-11-06 08:57:55 MST
Local ID                      691ab57a-9ced-496a-b027-0f9d2c60ebcc

Raw Audit Messages
type=AVC msg=audit(1383753475.338:1290): avc:  denied  { sigkill } for  pid=32112 comm="glusterfs" scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:system_r:rpcd_t:s0 tclass=process


type=SYSCALL msg=audit(1383753475.338:1290): arch=x86_64 syscall=kill success=no exit=EACCES a0=605 a1=9 a2=0 a3=605 items=0 ppid=32111 pid=32112 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=glusterfs exe=/usr/sbin/glusterfsd subj=system_u:system_r:glusterd_t:s0 key=(null)

Hash: glusterfs,glusterd_t,rpcd_t,process,sigkill

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.10.7-200.fc19.x86_64
type:           libreport