Bug 795488 - SELinux is preventing /usr/libexec/polkit-1/polkitd from using the 'sys_ptrace' capabilities.
Summary: SELinux is preventing /usr/libexec/polkit-1/polkitd from using the 'sys_ptrac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d919c36ec2e7c52e895cabfa023...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 16:58 UTC by Bruce Cowan
Modified: 2012-02-28 10:35 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-91.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 10:35:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruce Cowan 2012-02-20 16:58:50 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc3.git7.2.fc17.i686
reason:         SELinux is preventing /usr/libexec/polkit-1/polkitd from using the 'sys_ptrace' capabilities.
time:           Mon 20 Feb 2012 16:58:33 GMT

description:
:SELinux is preventing /usr/libexec/polkit-1/polkitd from using the 'sys_ptrace' capabilities.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polkitd should have the sys_ptrace capability 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                 [ capability ]
:Source                        polkitd
:Source Path                   /usr/libexec/polkit-1/polkitd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           polkit-0.104-5.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-88.fc17.noarch selinux-
:                              policy-3.10.0-89.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.i686 #1 SMP Fri Feb
:                              3 20:06:02 UTC 2012 i686 i686
:Alert Count                   59
:First Seen                    Sun 19 Feb 2012 18:46:49 GMT
:Last Seen                     Sun 19 Feb 2012 18:46:49 GMT
:Local ID                      663f0b6c-382a-44d6-a340-e4635104f402
:
:Raw Audit Messages
:type=AVC msg=audit(1329677209.937:351): avc:  denied  { sys_ptrace } for  pid=768 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=capability
:
:
:type=SYSCALL msg=audit(1329677209.937:351): arch=i386 syscall=read success=yes exit=159 a0=8 a1=bfdb8bbc a2=1000 a3=400 items=0 ppid=1 pid=768 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,capability,sys_ptrace
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-02-20 19:46:10 UTC
Fixed in selinux-policy-3.10.0-89.fc17

Comment 2 Fedora Update System 2012-02-21 20:24:58 UTC
selinux-policy-3.10.0-91.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-91.fc17

Comment 3 Fedora Update System 2012-02-22 03:53:26 UTC
Package selinux-policy-3.10.0-91.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-91.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2180/selinux-policy-3.10.0-91.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-28 10:35:09 UTC
selinux-policy-3.10.0-91.fc17 has been pushed to the Fedora 17 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.