Bug 796359

Summary: SELinux is preventing /usr/libexec/polkit-1/polkitd from 'sys_ptrace' accesses on the None .
Product: [Fedora] Fedora Reporter: Christian Joensson <christian.joensson>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:23bde6f4e89195da816d407d2553ba1d07aa9d4814370e1e23c74a3efba6d132
Fixed In Version: selinux-policy-3.10.0-95.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 18:48:50 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 Christian Joensson 2012-02-22 18:18:42 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.i686.PAE
reason:         SELinux is preventing /usr/libexec/polkit-1/polkitd from 'sys_ptrace' accesses on the None .
time:           ons 22 feb 2012 19:18:18

description:
:SELinux is preventing /usr/libexec/polkit-1/polkitd from 'sys_ptrace' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polkitd should be allowed sys_ptrace access on the  <Okänd> 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 polkitd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:policykit_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:policykit_t:s0-s0:c0.c1023
:Target Objects                 [ None ]
:Source                        polkitd
:Source Path                   /usr/libexec/polkit-1/polkitd
:Port                          <Okänd>
:Host                          (removed)
:Source RPM Packages           polkit-0.102-3.fc16.i686 polkit-0.104-5.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-89.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.6-3.fc16.i686.PAE #1 SMP
:                              Mon Feb 13 20:44:23 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    ons 22 feb 2012 19:16:43
:Last Seen                     ons 22 feb 2012 19:16:43
:Local ID                      49094ad6-fad0-4aa2-b088-31af85d83db1
:
:Raw Audit Messages
:type=AVC msg=audit(1329934603.667:68): avc:  denied  { sys_ptrace } for  pid=893 comm="polkitd" capability=19  scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tclass=capabilitynode=(removed) type=SYSCALL msg=audit(1329934603.667:68): arch=40000003 syscall=3 success=yes exit=202 a0=a a1=bfd04b9c a2=1000 a3=400 items=0 ppid=1 pid=893 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="polkitd" exe="/usr/libexec/polkit-1/polkitd" subj=system_u:system_r:policykit_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: polkitd,policykit_t,policykit_t,None,sys_ptrace
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-22 20:44:00 UTC
Fixed in selinux-policy-3.10.0-92.fc17.noarch

Comment 2 Fedora Update System 2012-02-29 09:42:57 UTC
selinux-policy-3.10.0-95.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-95.fc17

Comment 3 Fedora Update System 2012-02-29 18:52:41 UTC
Package selinux-policy-3.10.0-95.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-95.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2682/selinux-policy-3.10.0-95.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-21 18:48:50 UTC
selinux-policy-3.10.0-95.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.