On Thu, 10 Sep 2020 20:33:50 -0500 Neil Rickert <nrickert@ameritech.net> 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 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. 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".
date is run in a user's environment, so can't have anything to do with a systemwide file in /etc, I suggest. Is anybody brave enough to delete the file (or rename it) and see if anything breaks? -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org