Bug 1093700 - SELinux is preventing /usr/sbin/httpd from using the 'sigkill' accesses on a process.
Summary: SELinux is preventing /usr/sbin/httpd from using the 'sigkill' accesses on a ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b4d0cc933b885ae90a2a7031451...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-02 11:39 UTC by Rita Heinrich
Modified: 2014-05-21 23:30 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-163.fc20
Clone Of:
Environment:
Last Closed: 2014-05-21 23:30:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rita Heinrich 2014-05-02 11:39:21 UTC
Description of problem:
SELinux is preventing /usr/sbin/httpd from using the 'sigkill' accesses on a process.

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

If sie denken, dass es httpd standardmäßig erlaubt sein sollte, sigkill Zugriff auf passenger_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep /usr/sbin/httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:httpd_t:s0
Target Context                system_u:system_r:passenger_t:s0
Target Objects                 [ process ]
Source                        /usr/sbin/httpd
Source Path                   /usr/sbin/httpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           httpd-2.4.9-2.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-149.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.9-200.fc20.i686 #1 SMP Fri
                              Apr 4 12:34:06 UTC 2014 i686 i686
Alert Count                   1
First Seen                    2014-04-17 17:45:08 CEST
Last Seen                     2014-04-17 17:45:08 CEST
Local ID                      08014e63-79e4-4c8f-a9d2-dfc65a189438

Raw Audit Messages
type=AVC msg=audit(1397749508.351:361): avc:  denied  { sigkill } for  pid=1087 comm="/usr/sbin/httpd" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:passenger_t:s0 tclass=process


type=SYSCALL msg=audit(1397749508.351:361): arch=i386 syscall=kill success=no exit=EACCES a0=fffffa52 a1=9 a2=b73d3000 a3=5ae items=0 ppid=1 pid=1087 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=/usr/sbin/httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null)

Hash: /usr/sbin/httpd,httpd_t,passenger_t,process,sigkill

Additional info:
reporter:       libreport-2.2.2
hashmarkername: setroubleshoot
kernel:         3.13.10-200.fc20.i686
type:           libreport

Comment 1 Daniel Walsh 2014-05-03 10:17:06 UTC
commit c62bfc00b60006171e5765038512629819cdda8e
 fixes this in git.

Comment 2 Lukas Vrabec 2014-05-03 12:09:19 UTC
Backported.

Comment 3 Fedora Update System 2014-05-07 09:45:01 UTC
selinux-policy-3.12.1-161.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-161.fc20

Comment 4 Fedora Update System 2014-05-08 10:02:18 UTC
Package selinux-policy-3.12.1-161.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-161.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6084/selinux-policy-3.12.1-161.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-05-14 23:53:40 UTC
Package selinux-policy-3.12.1-163.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-163.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6084/selinux-policy-3.12.1-163.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-05-21 23:30:57 UTC
selinux-policy-3.12.1-163.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.