Bug 584764 - SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 "search" access .
Summary: SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 "search" ac...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:f94b003d97b...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-22 11:14 UTC by Daniel Sjoholm
Modified: 2010-05-03 16:10 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-113.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-03 16:10:10 UTC
Type: ---

Attachments (Terms of Use)

Description Daniel Sjoholm 2010-04-22 11:14:13 UTC

SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 "search"
access .

Detailed Description:

SELinux denied access requested by polkit-agent-he. It is not expected that this
access is required by polkit-agent-he and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c
Target Context                system_u:object_r:sysctl_kernel_t:s0
Target Objects                None [ dir ]
Source                        polkit-agent-he
Source Path                   /usr/libexec/polkit-1/polkit-agent-helper-1
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           polkit-0.95-0.git20090913.3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-108.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Mon Apr 5
                              16:15:03 EDT 2010 i686 athlon
Alert Count                   10
First Seen                    Thu 15 Apr 2010 03:32:37 PM CEST
Last Seen                     Thu 22 Apr 2010 01:11:37 PM CEST
Local ID                      b15aa3e8-ccaa-4bd5-91c2-c5f9572334c0
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1271934697.197:21): avc:  denied  { search } for  pid=2735 comm="polkit-agent-he" scontext=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_kernel_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1271934697.197:21): arch=40000003 syscall=5 success=no exit=-13 a0=869be7 a1=0 a2=1ba299 a3=3 items=0 ppid=2177 pid=2735 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="polkit-agent-he" exe="/usr/libexec/polkit-1/polkit-agent-helper-1" subj=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,polkit-agent-he,policykit_auth_t,sysctl_kernel_t,dir,search
audit2allow suggests:

#============= policykit_auth_t ==============
allow policykit_auth_t sysctl_kernel_t:dir search;

Comment 1 Daniel Walsh 2010-04-22 12:26:57 UTC
I think this can probably be dontaudited.


Comment 2 Miroslav Grepl 2010-04-22 16:10:48 UTC
Fixed in selinux-policy-3.6.32-113.fc12

Comment 3 Fedora Update System 2010-04-23 12:45:31 UTC
selinux-policy-3.6.32-113.fc12 has been submitted as an update for Fedora 12.

Comment 4 Fedora Update System 2010-04-27 02:24:06 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12

Comment 5 Fedora Update System 2010-05-03 16:08:08 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 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.