On 11/09/2020 03.33, Neil Rickert wrote:
On 9/10/20 8:28 AM, David T-G wrote:
davidtg@gezebel:~> tail -1 /etc/adjtime UTC
% tail -1 /etc/adjtime UTC
davidtg@gezebel:~> cat /etc/sysconfig/clock DEFAULT_TIMEZONE="US/Eastern"
% cat /etc/sysconfig/clock DEFAULT_TIMEZONE="US/Eastern"
I'll note that I'm actually on central time
% ls -l /etc/localtime lrwxrwxrwx 1 root root 35 Feb 23 2020 /etc/localtime -> /usr/share/zoneinfo/America/Chicago
I should add that this is with Leap 15.2.
I think it is a bug.
I haven't messed with either of those files in my configuration attempts. It's curious to me that they differ. Should they?
The files are not related, except that they deal with time settings. "/etc/adjtime" is for the hardware clock settings. And "/etc/sysconfig/clock" is presumably supposed to be related to timezone is used with "date" and similar commands. But I don't think that file is actually used. It looks to be a residue from earlier releases.
Probably.
Checking with "rpm", the file does not appear to be owned by any package. If I use Yast Date and Time, it shows me as in Central time (which is correct), so it is not using that wrong value in "/etc/sysconfig/clock".
I think it uses /etc/localtime. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)