For some days I have had a weird problem with the time of my mageia (7.1):
- it shows me two hours less than normal time on conky
- the time is not displayed in the dashboard clock
If I go into MCC, "manage date and time", I have the correct time and the correct time zone displayed (Europ/Paris).
I checked the system time in the BIOS, it Ok.
On the other hand, if I run date or timedatectl, I have:
- Code: Select all
$ date
lun. sept. 7 06:12:42 UTC 2020
$ timedatectl
Local time: lun. 2020-09-07 06:12:52 Europe
Universal time: lun. 2020-09-07 06:12:52 UTC
RTC time: lun. 2020-09-07 08:12:52
Time zone: Europe/Paris (Europe, +0000)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode cannot be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
The correct time is 08:12:52 paris time.
From what I see on the internet, I should have
- Code: Select all
Local time: lun. 2020-09-07 08:12:52 CEST
I tried to change the time zone, if I put "Europe / Rome", then it becomes "normal" again: the displayed time is the correct one and it appears in the dashboard.
If I run timedatectl
$ date;timedatectl
- Code: Select all
lun. sept. 7 08:20:43 CEST 2020
Local time: lun. 2020-09-07 08:20:43 CEST
Universal time: lun. 2020-09-07 06:20:43 UTC
RTC time: lun. 2020-09-07 10:20:38
Time zone: Europe/Rome (CEST, +0200)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode cannot be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
Thanks for your help !
BTW, I used manaclock to activate ntp, seems more reliable than MCC.