On 11/15/18 4:54 PM, Ed Greshko wrote:
On 11/16/18 7:37 AM, Rick Stevens wrote:
> On 11/15/18 3:00 PM, Joe Zeff wrote:
>> On 11/15/2018 03:17 PM, Rick Stevens wrote:
>>> In Linux
>>> case, it expects UTC. In Windows, it expects local time.
>> I haven't had to deal with this for years, but if memory serves,
there's
>> a place where you can tell Linux that the hardware clock is in local
>> time, not UTC.
> Ah, yes, there is. You can select the mode when you install the system,
> but the "system-config-date" utility offers a tickbox. By default,
it's
> ticked and that means "System clock uses UTC".
>
> I also haven't done it in a while. This machine is F28, but started
> life as F18 and has been continually updated since then. The same is
> true for my other personal systems (they're current F28 or F29 and
> started as F20 or earlier). For the last 25 years or so, 95% of the
> machines I set up or use are Unix-esque in flavor, so I pretty much
> always set up UTC on the hardware clock. Sort of second nature.
Well, I'm just installing an F29 MATE VM and on the TIME&DATE screen there is no
tick-box
to indicate that the HW clock is or isn't "local".
Additionally, I could find no trace of "system-config-date" in F29.
[root@meimei ~]# dnf whatprovides *bin/system-config-date
Fedora 29 - x86_64 - VirtualBox 2.8 kB/s | 6.9 kB 00:02
Failed to synchronize cache for repo 'virtualbox', ignoring this repo.
Error: No Matches found
And you're right. It appears mine is from....(holy kapok!) F24! I told
you these machines have been updated from older versions.
Ok, so you can wait until chronyd syncs, then delete the /etc/adjtime
file and "sudo hwclock -w --utc" to set it to UTC (default unless the
last line of /etc/adjtime is set to "LOCAL").
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- "Celibacy is not hereditary." -
- -- Guy Goden -
----------------------------------------------------------------------