| Summary: | drakclock has a confusing message asking about hardware clock in GMT | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Malo Deniélou <pmdenielou> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, mageia, pablo, reinout, thierry.vignaud |
| Version: | Cauldron | Keywords: | Junior_job, PATCH, Triaged |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-15.542.mga4 | CVE: | |
| Status comment: | |||
| Attachments: |
patch to change GTM/UTC string, and better default for NTP severs
patch to change GTM/UTC string; systemd integration, and better default for NTP severs |
||
|
Description
Malo Deniélou
2012-05-23 15:05:03 CEST
AFAIK GMT and UTC are pretty much the same thing. Or not? And the question is right. drakclock doesn't change your hw clock. But Windows usually sets it to local time. So drakclock needs to know which time is your bios using. CC:
(none) =>
sander.lepik GMT is deprecated, UTC is the new standard (with leap seconds ...): http://www.ntp.org/ntpfaq/NTP-s-time.htm Other distributions ask if hw clock is UTC, hence the confusion with some users. Maybe I am completely wrong, but I think drakclock does change the hardware clock. AFAIK, hwclock -r gives the current hardware clock result and changing the time in drakclock gives different result with hwclock.
Manuel Hiebel
2012-05-25 10:32:10 CEST
Keywords:
(none) =>
Junior_job Created attachment 4106 [details]
patch to change GTM/UTC string, and better default for NTP severs
this patch (made against drakxtools-15.542.mga4) changes "GMT" to "UTC" and adds a little explanation ("UTC (universal time)").
It also sets bettter pre-selection of the NTP server combobox:
* if NTP is already defined, use already defined server (that was already there)
* if NTP is not yet defined, then:
** try a server matching our country code
** if that fails, try the "All servers" entry for our continent (taken from the timezone)
and uses systemd commands to enable/disable start/stop the ntp service (sysvinit was still used in some cases)CC:
(none) =>
pablo
Pablo Saratxaga
2013-06-06 11:24:07 CEST
Keywords:
(none) =>
PATCH Created attachment 4107 [details]
patch to change GTM/UTC string; systemd integration, and better default for NTP severs
Better patch, with systedmd integration.
this patch (made against drakxtools-15.542.mga4) changes "GMT" to "UTC" and adds a little explanation ("UTC (universal time)").
It also sets bettter pre-selection of the NTP server combobox:
* if NTP is already defined, use already defined server (that was already there)
* if NTP is not yet defined, then:
** try a server matching our country code
** if that fails, try the "All servers" entry for our continent (taken from the timezone)
and also uses the "timedatectl" systemd tool to enable/disable ntpd, and also to get/set the UTC and timezone.
that means that changes made by drakclock will be seen by all other systemd compliant tools (like gnome-control-center timedate), and the other way too.
Attachment 4106 is obsolete:
0 =>
1 Thanks Pablo for your work. Hopefully it can be integrated soon.
Manuel Hiebel
2013-06-08 16:38:58 CEST
Keywords:
(none) =>
Triaged Reminder: can we get this in for MGA4 please? CC:
(none) =>
reinout If this patch wasn't applied, it's now too late for Mageia 5 because it implies translation changes (if I understood the process correctly), that we can't do since late in the release process. Can you confirm, Thierry? There are not too many string changes, so the patch can probably be modified with s/UTC (universal time)/GMT/ and s/UTC - DrakClock/GMT - DrakClock/ to preserve existing translations for Mageia 5. maybe we can do this now ? if still needed CC:
(none) =>
mageia |