Service Notices

All Notices > Other Notices > Please update Windows and Linux as soon as possible to avoid impact due to DST changes in Mexico

Please update Windows and Linux as soon as possible to avoid impact due to DST changes in Mexico

Apr 01, 2023 GMT+08:00

Dear customers,

According to the regulations of the Mexico government, Mexico will no longer adjust the standard time to the Daylight Saving Time (DST), which was originally planned this year (April 2023). This means that there will be no DST change in Mexico. However, Windows and Linux system will change the time by default, it may have an impact on your application. Therefore, we strongly suggest you to check your system and take necessary action.

Question 1: Under what conditions will your system be affected?

A. For Windows, operating system patch is not updated, and the time zone is Mexico City, the consequence will be the time changes.

B. For Linux, if the time zone contains Mexico and the latest tzdata patch is not updated, time change occurs (Run the following command to check whether the time zone is Mexico City).

ls -l /etc/localtime

Question 2: What are the repo source addresses of common operating systems?

A. For Windows, by default, the latest patch is obtained from the Microsoft official website. If the Windows ECS cannot access the internet, bind an EIP to download and apply the patch.

B. For Linux, the images obtained from the HUAWEI CLOUD public image catalog have a built-in repo source. (The following table is only for the repo configuration of public images provided by HUAWEI CLOUD, and the Linux ECSs also must be able to access the internet)

OS Type

Repo Source Configuration

CentOS/Ubuntu/Debian/Huawei EulerOS

repo.huaweicloud.com

C. For private Linux images obtained from open source communities have built-in open source repo sources and require EIPs to access the internet. Configure and update such image repo source vendors based on their official suggestions.

Question 3: How do I update the time zone patch?

A. For Windows, search for "Windows Update Settings" in the Windows Search Bar and open Windows Update. On the Windows Update screen, check for updates and update to the latest version.

Or you can search the patch by KB ID and download the patch from this link. https://www.catalog.update.microsoft.com/Home.aspx

Common Windows patch packages are as follows:

Windows Type

KB ID

Windows Server 2022

KB5023705

Windows Server 2012

KB5023756

Windows Server 2008 SP2

KB5023755

B. For Linux, execute the following command to apply the latest tzdata time zone patch in the Linux public image system (ECS and CCE nodes) provided by HUAWEI CLOUD:

OS Type

tzdata Update Command

CentOS7

yum list

yum update -y tzdata

CentOS8

wget http://mirror.centos.org/centos/8-stream/BaseOS/aarch64/os/Packages/tzdata-2022g-2.el8.noarch.rpm

rpm --nodeps --force -Uvh tzdata-2022g-2.el8.noarch.rpm

Ubuntu18/20/22

apt-get update

apt-get install -y tzdata

Debian

apt-get update

apt-get install -y tzdata

Huawei EulerOS

yum list

yum update -y tzdata

 

OS Type

tzdata Update Command

CentOS7

tzdata-2022g-1.el7.noarch.rpm

CentOS8

tzdata-2022g-2.el8.noarch.rpm

Ubuntu18

2022g-0ubuntu0.18.04

Ubuntu20

2022g-0ubuntu0.20.04.1

Ubuntu22

2022g-0ubuntu0.22.04.1

Debian

tzdata-2021a-1+deb11u8.noarch.rpm

Huawei EulerOS

tzdata-2019c-1.h12.eulerosv2r7.noarch

C. For Linux private image systems (ECS and CCE nodes), you need to apply the tzdata time zone patch based on the official guide provided by the vendor.

D. If you cannot access the Internet to get the latest update, it is recommended to download it by temporarily associating an EIP with ensuring of its security settings. Or you can consider of obtaining the patches from one host that can access the Internet and send to the others to distribute internally.

Question 4: How can I update the OS of the CCE node?

A. If a CCE node is created from the EulerOS public image, you are advised to update the CCE as instructed in Question 4.

B. If a CCE node is created from the private image, you need to apply the patch according to the vendor's instructions.

Question 5: What should I do if the time has changed?

A. For Linux public images from HUAWEI CLOUD, update the tzdata patch as instructed in Question 4. The update will take effect immediately.

B. For Windows and Linux private images, update them according to the vendor's instructions. The update will take effect immediately.

C. If the time does not take effect or there is other issue, please contact Huawei Cloud technical support or the third-party OS vendor.