WoW ! Thx Graeme !!! Live n' learn, eh what ? :D
Okay, here's how it started out in Peppermint 7 ...
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl status
Local time: Sun 2016-08-21 15:22:28 MST
Universal time: Sun 2016-08-21 22:22:28 UTC
RTC time: Sun 2016-08-21 22:22:28
Time zone: America/Phoenix (MST, -0700)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
I ran this command ...
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl set-local-rtc 1
And, this command ...
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl set-ntp false
Now it looks like this ...
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl status
Local time: Sun 2016-08-21 15:29:46 MST
Universal time: Sun 2016-08-21 22:29:46 UTC
RTC time: Sun 2016-08-21 15:29:46
Time zone: America/Phoenix (MST, -0700)
Network time on: no
NTP synchronized: yes
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not 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'.
So, now Peppermint is sync'ing via the RTC clock only, theoretically.
I'll do the same over in winders 10 (different process, of course) and we'll see how that goes.
You've introduced me to a whole world of possibilities to obsess on.
Thx, again ...
Aha ! Check this out ...
I was getting ready to reboot into winders, and I checked the RTC one last time.
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl status
Local time: Sun 2016-08-21 16:26:04 MST
Universal time: Sun 2016-08-21 23:26:04 UTC
RTC time: Sun 2016-08-21 23:26:04
Time zone: America/Phoenix (MST, -0700)
Network time on: no
NTP synchronized: yes
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not 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'.
Look at my RTC time.
Something has reset the little bastard, in the last few minutes. :-[
Guess I'll be doing forensics in Peppermint, before tackling winders 10.
This is a real corker !
This varies from one Linux to another, but since Mint is like Ubuntu you can probably set UTC=no in /etc/default/rcS. Then you can set the clock to local time in Windows and Linux will leave it alone after that.
Somehow I glossed over it, the first time, but you found the fix, Graeme !
I pulled up the '/etc/default/rcS' file and looked around, but didn't see anything 'UTC' in there, so I went my merry way.
After beating around the bush for a couple of hours, I knew I was overlooking something, so I re-read your message and checked the rcS man ...
LINK: http://manpages.ubuntu.com/manpages/xenial/man5/rcS.5.html
According to the man:
NOTE
The EDITMOTD, RAMRUN and UTC variables are no longer used. The UTC
setting is replaced by the UTC or LOCAL setting in /etc/adjtime, and
should have been migrated automatically. See hwclock(5) and hwclock(8)
for further details on configuring the system clock.
I went ahead and added the UTC variable to rcS file:
#
# /etc/default/rcS
#
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.
# okay mofo, take this !
UTC=no
<SNIP>
And, it automagically migrated to the adjtime file (as the note stated):
0.000000 1471824225 0.000000
1471824225
LOCAL
I've been on here for about a hafl-hour now, and the RTC clock hasn't changed:
╭─vindsl@Boogaloo-5 ~
╰─➤ timedatectl status 127 ↵
Local time: Sun 2016-08-21 18:30:46 MST
Universal time: Mon 2016-08-22 01:30:46 UTC
RTC time: Sun 2016-08-21 18:30:46
Time zone: America/Phoenix (MST, -0700)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not 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'.
Thx for helping me think this through. I owe you one !!! :)
~ cool
RTC clock is staying the same in Ubu-Gnome, too !
Invoked:
timedatectl set-local-rtc 1
Then added 'UTC=no" in:
vindsl@StaPuft:~$ sudo gedit /etc/default/rcS
Bada bing ! Bada boom !
vindsl@StaPuft:~$ cat /etc/adjtime
0.0 0 0
0
LOCAL
vindsl@StaPuft:~$ timedatectl status
Local time: Sun 2016-08-21 19:58:27 MST
Universal time: Mon 2016-08-22 02:58:27 UTC
RTC time: Sun 2016-08-21 19:58:27
Time zone: America/Phoenix (MST, -0700)
Network time on: yes
NTP synchronized: no
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not 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'.