Bug 750161 - SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file online.
Summary: SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesse...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:242221bc63b43eb97b70afb4c38...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-31 08:40 UTC by Jaroslav Franek
Modified: 2011-11-10 17:30 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-55.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-10 17:30:34 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.