Bug 888906

Summary: SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file /root/.config/Trolltech.conf.
Product: [Fedora] Fedora Reporter: Jorrit <antimarklarcrust>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:dcc4b6e4b09ae44d10ffb2e74a7a456d368699d421887982447ddfc7682f3ff6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-19 19:01:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Jorrit 2012-12-19 18:34:52 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.10-2.fc17.i686

description:
:SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'read' accesses on the file /root/.config/Trolltech.conf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that kcmdatetimehelper should be allowed read access on the Trolltech.conf 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:config_home_t:s0
:Target Objects                /root/.config/Trolltech.conf [ file ]
:Source                        kcmdatetimehelp
:Source Path                   /usr/libexec/kde4/kcmdatetimehelper
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           kde-workspace-4.9.4-2.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.10-2.fc17.i686 #1 SMP Tue Dec
:                              11 18:33:15 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-12-19 19:30:13 CET
:Last Seen                     2012-12-19 19:30:13 CET
:Local ID                      6f1314b8-c2fe-41db-8980-4d63c6571508
:
:Raw Audit Messages
:type=AVC msg=audit(1355941813.954:146): avc:  denied  { read } for  pid=5921 comm="kcmdatetimehelp" name="Trolltech.conf" dev="dm-1" ino=2897 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:config_home_t:s0 tclass=file
:
:
:type=AVC msg=audit(1355941813.954:146): avc:  denied  { open } for  pid=5921 comm="kcmdatetimehelp" path="/root/.config/Trolltech.conf" dev="dm-1" ino=2897 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:config_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1355941813.954:146): arch=i386 syscall=open success=yes exit=ESRCH a0=9744c08 a1=88000 a2=0 a3=21 items=0 ppid=5920 pid=5921 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,config_home_t,file,read
:
:audit2allow
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t config_home_t:file { read open };
:
:audit2allow -R
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t config_home_t:file { read open };
:

Comment 1 Jorrit 2012-12-19 18:35:00 UTC
Created attachment 666277 [details]
File: type

Comment 2 Jorrit 2012-12-19 18:35:05 UTC
Created attachment 666278 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-12-19 19:01:00 UTC

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