You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Timezone Resets Upon reboot on OL8 Instance

Applies to:  

Oracle Cloud Infrastructure   

Linux x86-64 

 

Symptoms:   

On an OL 8 instance, the timezone resets from GMT to EST on reboot. 

Command used to set the timezone:

# timedatectl set-timezone GMT 
# timedatectl 
             Local time: Fri 2023-11-10 21:08:36 GMT <<<<<<<<<< 
         Universal time: Fri 2023-11-10 21:08:36 UTC 
               RTC time: Fri 2023-11-10 21:08:37 
              Time zone: GMT (GMT, +0000) 
System clock synchronized: yes 
            NTP service: active 
        RTC in local TZ: no 

# ls -l /etc/localtime 
lrwxrwxrwx 1 root root 25 Nov 10 14:07 /etc/localtime -> ../usr/share/zoneinfo/GMT 
 
# systemctl status chronyd 
— chronyd.service - NTP client/server 
 Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled) 
 Active: active (running) since Fri 2023-11-10 14:05:53 GMT; 7h ago 
   Docs: man:chronyd(8) 
         man:chrony.conf(5) 
 Process: 1596 ExecStartPost=/usr/libexec/chrony-helper update-daemon (code=exited, status=0/SUCCESS) 
 Process: 1581 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited, status=0/SUCCESS) 
Main PID: 1587 (chronyd) 
  Tasks: 1 (limit: 48269) 
 Memory: 1.1M 
 CGroup: /system.slice/chronyd.service 
        1587 /usr/sbin/chronyd 
 
Nov 10 14:05:53 systemd[1]: Starting NTP client/server... 
Nov 10 14:05:53 chronyd[1587]: chronyd version 4.2

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!