Bug 1051502 - SELinux is preventing /usr/libexec/strongswan/starter from using the sigkill access on a process.
Summary: SELinux is preventing /usr/libexec/strongswan/starter from using the sigkill ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-10 13:01 UTC by Juan Orti
Modified: 2014-01-16 07:13 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-116.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-16 07:13:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2014-01-10 13:01:22 UTC
Description of problem:
SELinux is preventing /usr/libexec/strongswan/starter from using the sigkill access on a process.

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

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

Additional Information:
Source Context                system_u:system_r:ipsec_t:s0
Target Context                system_u:system_r:ipsec_t:s0
Target Objects                 [ process ]
Source                        starter
Source Path                   /usr/libexec/strongswan/starter
Port                          <Unknown>
Host                          <removed>
Source RPM Packages           strongswan-5.1.0-2.fc20.x86_64
Target RPM Packages
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     <removed>
Platform                      Linux <removed> 3.12.6-300.fc20.x86_64
                              #1 SMP Mon Dec 23 16:44:31 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2014-01-10 13:29:46 CET
Last Seen                     2014-01-10 13:29:46 CET
Local ID                      3f5892dd-630f-4348-b51f-3035822b08cd

Raw Audit Messages
type=AVC msg=audit(1389356986.957:9067): avc:  denied  { sigkill } for  pid=27209 comm="starter" scontext=system_u:system_r:ipsec_t:s0 tcontext=system_u:system_r:ipsec_t:s0 tclass=process


type=SYSCALL msg=audit(1389356986.957:9067): arch=x86_64 syscall=kill success=no exit=EACCES a0=2600 a1=9 a2=0 a3=7fff9f920220 items=0 ppid=1 pid=27209 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=starter exe=/usr/libexec/strongswan/starter subj=system_u:system_r:ipsec_t:s0 key=(null)

Hash: starter,ipsec_t,ipsec_t,process,sigkill

Comment 1 Miroslav Grepl 2014-01-13 13:47:10 UTC
commit b905555c5c6ceee75a1a8fa3563bf86eaf78eae4
Author: Miroslav Grepl <mgrepl>
Date:   Mon Jan 13 14:46:56 2014 +0100

    Add sigkill capabilityfor ipsec_t

Comment 2 Fedora Update System 2014-01-13 22:59:08 UTC
selinux-policy-3.12.1-116.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-116.fc20

Comment 3 Fedora Update System 2014-01-15 06:00:44 UTC
Package selinux-policy-3.12.1-116.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-116.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0806/selinux-policy-3.12.1-116.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-16 07:13:47 UTC
selinux-policy-3.12.1-116.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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