Bug 786827

Summary: SELinux is preventing /usr/libexec/polkit-1/polkitd from 'read' accesses on the None online.
Product: [Fedora] Fedora Reporter: Tran Chi Thanh <tintuc>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:96b47573c30c4969a656cb960e823a14fe4c2aebb1d361bfb8b98b687739dbc7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 16:18:39 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 Tran Chi Thanh 2012-02-02 14:03:29 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/polkit-1/polkitd from 'read' accesses on the None online.
time:           Thu 02 Feb 2012 09:03:09 PM ICT

description:
:SELinux is preventing /usr/libexec/polkit-1/polkitd from 'read' accesses on the None online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polkitd should be allowed read access on the online <Unknown> 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:object_r:sysfs_t:s0
:Target Objects                online [ None ]
:Source                        polkitd
:Source Path                   /usr/libexec/polkit-1/polkitd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26
:                              03:21:58 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Thu 02 Feb 2012 02:00:51 PM ICT
:Last Seen                     Thu 02 Feb 2012 02:00:51 PM ICT
:Local ID                      5b66d2b3-5447-4b37-b5bd-01b77d1fb33c
:
:Raw Audit Messages
:type=AVC msg=audit(1328166051.511:32): avc:  denied  { read } for  pid=1125 comm="polkitd" name="online" dev=sysfs ino=34 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328166051.511:32): arch=c000003e syscall=2 success=no exit=-13 a0=3c78777668 a1=80000 a2=2003ff a3=1 items=0 ppid=1118 pid=1125 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,sysfs_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-02 16:18:39 UTC

*** This bug has been marked as a duplicate of bug 786826 ***