Bug 315987

Summary: kcmdatetimehelper cannot find zic nor hwclock
Product: [Applications] systemsettings Reporter: Kevin Kofler <kevin.kofler>
Component: kcm_clockAssignee: Kevin Kofler <kevin.kofler>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.10.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=906854
Latest Commit: Version Fixed/Implemented In: 4.10.1
Sentry Crash Report:

Description Kevin Kofler 2013-03-01 22:45:12 UTC
This bug is fixed in 4.10.1, I'm filing it so it shows up in the list of fixed bugs.

kcmdatetimehelper failed to find zic and hwclock because it was relying on the $PATH environment variable, which was empty. As a result, if /etc/localtime did not exist yet, setting the time zone failed with an error message. In addition, writing the time to the hardware clock silently failed.

Reproducible: Always

Steps to Reproduce:
On a Fedora 18 installation:
1. Visit System Settings->System Administration->Date & Time
2. Click on the Time Zone tab
3. Select a timezone different from the default (UTC) and hit Apply.
Actual Results:  
Error dialog saying "Error setting new time zone."

Expected Results:  
Changed system time zone.

See:
https://bugzilla.redhat.com/show_bug.cgi?id=906854
https://git.reviewboard.kde.org/r/108711/

Fixed in 4.10.1 by:
http://commits.kde.org/kde-workspace/c517bbc175a3fbb09f13a8468a6987fdbc547d23