You are not logged in.

#1 2017-12-12 14:47:07

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

[SOLVED] time goes 2 hours ahead upon reboot from LM

Hey guys!

After the last updates the time goes 2 hours ahead after I have used LM from another partition. I usually 'use' LM only to update the repos or as live media if needed. Today I decided to update the repos and when I returned to Arch the time was 2 hours ahead. I fixed it and rebooted back to LM to see if the change is going be permanent.
I expected it to be. But it was not. Upon reboot the time was again 2 hours ahead.

ntpd -qg
12 Dec 18:27:10 ntpd[972]: ntpd 4.2.8p10@1.3728-o Mon Apr 24 18:57:17 UTC 2017 (1): Starting
12 Dec 18:27:10 ntpd[972]: Command line: ntpd -qg
12 Dec 18:27:10 ntpd[972]: proto: precision = 0.133 usec (-23)
12 Dec 18:27:10 ntpd[972]: Listen and drop on 0 v6wildcard [::]:123
12 Dec 18:27:10 ntpd[972]: Listen and drop on 1 v4wildcard 0.0.0.0:123
12 Dec 18:27:10 ntpd[972]: Listen normally on 2 lo 127.0.0.1:123
12 Dec 18:27:10 ntpd[972]: Listen normally on 3 wlo1 192.168.8.100:123
12 Dec 18:27:10 ntpd[972]: Listen normally on 4 lo [::1]:123
12 Dec 18:27:10 ntpd[972]: Listen normally on 5 wlo1 [fe80::3e77:e6ff:feb0:a257%2]:123
12 Dec 18:27:10 ntpd[972]: Listening on routing socket on fd #22 for interface updates
12 Dec 16:27:18 ntpd[972]: ntpd: time set -7199.762168 s
ntpd: time set -7199.762168s
[sudo] password for vb: 
12 Dec 16:27:36 ntpdate[980]: adjust time server 79.124.14.141 offset -0.001668 sec

I followed the steps from the wiki except for this one

sudo timedatectl set-local-rtc 1

Is this the only way to make the change permanent? Before the updates I had no problems with the time.

Last edited by amaro (2017-12-12 15:33:53)

Offline

#2 2017-12-12 14:49:06

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

What's LM?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-12-12 14:50:30

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

Linux Mint

Offline

#4 2017-12-12 14:52:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

What's the output of...

timedatectl

Make sure that both OS's are set up to have the hardware clock as UTC.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2017-12-12 14:55:18

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

timedatectl
                      Local time: Tue 2017-12-12 16:53:58 EET
                  Universal time: Tue 2017-12-12 14:53:58 UTC
                        RTC time: Tue 2017-12-12 14:53:58
                       Time zone: Europe/Sofia (EET, +0200)
       System clock synchronized: no
systemd-timesyncd.service active: no
                 RTC in local TZ: no

I'll have to check the LM clock.

edit:
I've just checked LM forums and there seems to be a bug in LM. They suggest switching from UTC to local

sudo timedatectl set-local-rtc 1

But before the last updates I had no such problem with the LM bug.

Last edited by amaro (2017-12-12 15:05:04)

Offline

#6 2017-12-12 15:17:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

If you rarely use Mint, just leave the hardware clock in UTC, and let Mint show the wrong time until they fix their bug.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2017-12-12 15:31:17

amaro
Member
From: xfce
Registered: 2014-05-09
Posts: 367

Re: [SOLVED] time goes 2 hours ahead upon reboot from LM

Turns out LM was set to local. I switched it to UTC. Both OS's are set up to have the hardware clock as UTC. The time is correct now.

Thank you, slithery!

Offline

Board footer

Powered by FluxBB