Bug 760507

Summary: SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'write' accesses on the directory /.kde/share/config.
Product: [Fedora] Fedora Reporter: Giovanni Tirloni <giovanni.tirloni>
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, dwmw2, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:06ae40bccdb2bfa3887323eea37ff3b7e0527c9debba27750acd447023a1e007
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-15 18:55:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 757240    
Bug Blocks:    
Attachments:
Description Flags
File: description none

Description Giovanni Tirloni 2011-12-06 11:46:40 UTC
libreport version: 2.0.7
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.2-1.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from 'write' accesses on the directory /.kde/share/config.
time:           Tue 06 Dec 2011 09:45:56 AM BRST

description:    Text file, 2969 bytes

Comment 1 Giovanni Tirloni 2011-12-06 11:46:43 UTC
Created attachment 541314 [details]
File: description

Comment 2 Miroslav Grepl 2011-12-06 13:26:11 UTC
Try to execute

# chcon -t bin_t /usr/libexec/kde4/kcmdatetimehelper

will turn off the kcmdatetimehelper policy. Please try it and let me know if kcmdatetimehelper works as expected.

Thank you.

Comment 3 Giovanni Tirloni 2011-12-06 13:41:47 UTC
Now it doesn't complain about not being able to contact the ntp server and no SELinux warning is created but it crashes with the following message:

"Unable to execute the action: 6,"

And the KDE Crash helper pops up.

I verified pool.ntp.org is accessible and can correctly sync time with ntpdate.

Comment 4 Miroslav Grepl 2011-12-06 14:01:52 UTC
It doesn't look like SELinux issue. If you switch to permissive mode

# setenforce 0

does it work? After that switch back to enforcing mode.

# setenforce 1

Comment 5 Miroslav Grepl 2012-12-15 18:55:50 UTC
It has been fixed in KDE.