Bug 315987 - kcmdatetimehelper cannot find zic nor hwclock
Summary: kcmdatetimehelper cannot find zic nor hwclock
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (show other bugs)
Version: 4.10.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Kofler
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 22:45 UTC by Kevin Kofler
Modified: 2013-03-01 22:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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