Bug 888905 - SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'getattr' accesses on the file /root/.config/Trolltech.conf.
SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'getattr' acce...
Status: CLOSED DUPLICATE of bug 888901
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-12-19 13:34 EST by Jorrit
Modified: 2012-12-19 14:00 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-19 14:00:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-19 13:34 EST, Jorrit
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-19 13:34 EST, Jorrit
no flags Details

  None (edit)
Description Jorrit 2012-12-19 13:34:33 EST
Additional info:
libreport version: 2.0.18
kernel:         3.6.10-2.fc17.i686

:SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'getattr' accesses on the file /root/.config/Trolltech.conf.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that kcmdatetimehelper should be allowed getattr 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.
: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                      ac025b35-d05f-43fb-9e33-20c4ef4a9dac
:Raw Audit Messages
:type=AVC msg=audit(1355941813.942:145): avc:  denied  { getattr } 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.942:145): arch=i386 syscall=lstat64 success=yes exit=0 a0=9744c08 a1=bfd3fd50 a2=4f050ff4 a3=974969c 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,getattr
:#============= gnomeclock_t ==============
:allow gnomeclock_t config_home_t:file getattr;
:audit2allow -R
:#============= gnomeclock_t ==============
:allow gnomeclock_t config_home_t:file getattr;
Comment 1 Jorrit 2012-12-19 13:34:41 EST
Created attachment 666275 [details]
File: type
Comment 2 Jorrit 2012-12-19 13:34:47 EST
Created attachment 666276 [details]
File: hashmarkername
Comment 3 Daniel Walsh 2012-12-19 14:00:46 EST

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

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