Bug 750161

Summary: SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file online.
Product: [Fedora] Fedora Reporter: Jaroslav Franek <jarin.franek>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA 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:242221bc63b43eb97b70afb4c38dd1bdc9517ca5fc9131872090fe0c271efb34
Fixed In Version: selinux-policy-3.10.0-55.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 17:30:34 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 Jaroslav Franek 2011-10-31 08:40:15 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-1.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file online.
time:           Mon Oct 31 09:39:38 2011

description:
:SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file online.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that kcmdatetimehelper should be allowed read access on the online file 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 kcmdatetimehelp /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:sysfs_t:s0
:Target Objects                online [ file ]
:Source                        kcmdatetimehelp
:Source Path                   /usr/libexec/kde4/kcmdatetimehelper
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           kdebase-workspace-4.7.2-8.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-1.fc16.x86_64 #1
:                              SMP Mon Oct 24 12:18:13 UTC 2011 x86_64 x86_64
:Alert Count                   3
:First Seen                    Mon 31 Oct 2011 09:37:26 AM CET
:Last Seen                     Mon 31 Oct 2011 09:38:45 AM CET
:Local ID                      45b61e40-4c90-44aa-863a-fda623e0f9d3
:
:Raw Audit Messages
:type=AVC msg=audit(1320050325.993:107): avc:  denied  { read } for  pid=3183 comm="kcmdatetimehelp" name="online" dev=sysfs ino=34 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1320050325.993:107): arch=x86_64 syscall=open success=no exit=EACCES a0=362bf76fc8 a1=80000 a2=1fffe8fac967 a3=0 items=0 ppid=1 pid=3183 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=kcmdatetimehelp exe=/usr/libexec/kde4/kcmdatetimehelper subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
:
:Hash: kcmdatetimehelp,gnomeclock_t,sysfs_t,file,read
:
:audit2allow
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file read;
:
:audit2allow -R
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t sysfs_t:file read;
:

Comment 1 Miroslav Grepl 2011-10-31 08:57:44 UTC
Fixed in selinux-policy-3.10.0-53.fc16

Comment 2 Fedora Update System 2011-11-08 14:05:58 UTC
selinux-policy-3.10.0-55.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-55.fc16

Comment 3 Fedora Update System 2011-11-10 17:30:34 UTC
selinux-policy-3.10.0-55.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.