Bug 562344 - SELinux is preventing /usr/libexec/polkit-1/polkitd "search" access on 10041.
Summary: SELinux is preventing /usr/libexec/polkit-1/polkitd "search" access on 10041.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7db3e0ba065...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-06 02:30 UTC by Raindog
Modified: 2010-02-20 00:21 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-89.fc12
Clone Of:
Environment:
Last Closed: 2010-02-20 00:21:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Raindog 2010-02-06 02:30:16 UTC
Summary:

SELinux is preventing /usr/libexec/polkit-1/polkitd "search" access on 10041.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by polkitd. It is not expected that this access
is required by polkitd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:policykit_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_mount_t:s0-s0
                              :c0.c1023
Target Objects                10041 [ dir ]
Source                        polkitd
Source Path                   /usr/libexec/polkit-1/polkitd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           polkit-0.95-0.git20090913.3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.x86_64 #1
                              SMP Wed Dec 9 10:46:22 EST 2009 x86_64 x86_64
Alert Count                   3
First Seen                    Sat 26 Dec 2009 03:13:04 PM PST
Last Seen                     Sat 26 Dec 2009 03:13:04 PM PST
Local ID                      b58bbb80-6a00-4d02-a028-f8ec84ffeedb
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261869184.791:31390): avc:  denied  { search } for  pid=1705 comm="polkitd" name="10041" dev=proc ino=45959 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_mount_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=AVC msg=audit(1261869184.791:31390): avc:  denied  { read } for  pid=1705 comm="polkitd" name="stat" dev=proc ino=45962 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_mount_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=AVC msg=audit(1261869184.791:31390): avc:  denied  { open } for  pid=1705 comm="polkitd" name="stat" dev=proc ino=45962 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_mount_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=SYSCALL msg=audit(1261869184.791:31390): arch=c000003e syscall=2 success=yes exit=6 a0=d869f0 a1=0 a2=0 a3=11 items=0 ppid=1 pid=1705 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 String generated from  selinux-policy-3.6.32-59.fc12,catchall,polkitd,policykit_t,unconfined_mount_t,dir,search
audit2allow suggests:

#============= policykit_t ==============
allow policykit_t unconfined_mount_t:dir search;
allow policykit_t unconfined_mount_t:file { read open };

Comment 1 Daniel Walsh 2010-02-09 20:59:44 UTC
What application were you executing when this happened?

Comment 2 Raindog 2010-02-10 04:24:47 UTC
I believe that this occurred while trying to use mencoder through the OGMRip frontend.

Comment 3 Daniel Walsh 2010-02-10 18:40:14 UTC
Miroslav, can you add

	userdom_unpriv_usertype(unconfined, unconfined_mount_t)

Comment 4 Miroslav Grepl 2010-02-11 21:19:07 UTC
Fixed in selinux-policy-3.6.32-89.fc12

Comment 5 Fedora Update System 2010-02-11 22:01:25 UTC
selinux-policy-3.6.32-89.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-89.fc12

Comment 6 Fedora Update System 2010-02-13 00:40:33 UTC
selinux-policy-3.6.32-89.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/F12/FEDORA-2010-1836

Comment 7 Fedora Update System 2010-02-20 00:19:36 UTC
selinux-policy-3.6.32-89.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.