Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

KVM image RTC clock presets

2 posters

Go down

KVM image RTC clock presets Empty KVM image RTC clock presets

Post by pavlyuts Fri Nov 16, 2018 6:39 pm

Hi All,

KVM image, at least freesbc_kvm_3.0.107.3_172_233929.qcow2.tar.gz, has quite unusual datetime preset:

Code:
[root@sbc-backup ~]# timedatectl
Warning: Ignoring the TZ variable. Reading the system's time zone setting only.

      Local time: Fri 2018-11-16 23:34:01 +09
  Universal time: Fri 2018-11-16 14:34:01 UTC
        RTC time: Fri 2018-11-16 23:34:02
       Time zone: Pacific/Palau (+09, +0900)
     NTP enabled: yes
NTP synchronized: no
 RTC in local TZ: yes
      DST active: n/a

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'.
[root@sbc-backup ~]#

Basically, in the Linux world RTC is always UTC. Is therer some special idea behind of that?

pavlyuts

Number of Messages : 11
Point : 21
Registration Date : 2018-11-10

Back to top Go down

KVM image RTC clock presets Empty Re: KVM image RTC clock presets

Post by Admin Fri Dec 07, 2018 1:50 am

Hi

You are right about RTC issue. So it seems we ignore that variable and get our timezone elsewhere. We modified our script with the following command;

Code:
timedatectl set-local-rtc 0

Now, this should be fixed for all new systems once we rebuild our FreeSBC images. In the existing system, we'd have to manually run the line that was added to the script file.

Admin
Admin

Number of Messages : 508
Point : 1199
Registration Date : 2017-11-27

https://freesbc.yetkinforum.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum