Bug 1027359 - SELinux is preventing /usr/sbin/glusterfsd from using the 'sigkill' accesses on a process.
Summary: SELinux is preventing /usr/sbin/glusterfsd from using the 'sigkill' accesses ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a068296150a9d7bcf151265f269...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 16:10 UTC by Eric Blake
Modified: 2014-08-22 13:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-22 13:01:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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