You are not logged in.
Pages: 1
Hello,
I have two distros, the time is set utc in both. However, when I change distro the other always shows the wrong time. I already went through the time wiki and did everything it was suggested there, but couldn't solve the issue.
To make my point clearer here are the output of timedatectl status
Distro No. 1
[mak@myhost ~]$ timedatectl status
Local time: Fri 2013-05-03 11:04:03 UTC
Universal time: Fri 2013-05-03 11:04:03 UTC
RTC time: Fri 2013-05-03 11:04:03
Timezone: n/a (UTC, +0000)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
[mak@myhost ~]$Distro No. 2
[mak@myhost ~]$ timedatectl status
Local time: Fri 2013-05-03 21:24:49 EDT
Universal time: Sat 2013-05-04 01:24:49 UTC
RTC time: Sat 2013-05-04 01:24:48
Timezone: America/Montreal (EDT, -0400)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2013-03-10 01:59:59 EST
Sun 2013-03-10 03:00:00 EDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2013-11-03 01:59:59 EDT
Sun 2013-11-03 01:00:00 EST
[mak@myhost ~]$ As you see when I change the time on distro No. 1 it changes all (local, utc, rtc)
But when I change the time on distro No 2 it changes the local only and resets the other two to utc.
Now, if I go back to distro No 1 the time will be wrong, it will be 4 hours back.
I spent all afternoon to figure this out, but couldn't.
Thanks for the help
Last edited by jmak (2013-05-04 02:24:31)
Offline
It appears that Distro 1 doesn't have a timezone
Last edited by skunktrader (2013-05-04 02:06:03)
Offline
It appears that Distro 1 doesn't have a timezone
Thanks a lot skunktrader for spotting the error
Silly me,
I forgot to make the zoneinfo link to /etc/localtime
Now, it works fine.
Offline
Pages: 1