View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000132||AlmaLinux-8||-OTHER||public||2021-10-13 09:55||2021-10-25 09:11|
|Summary||0000132: [Cloud/AWS]AMI wrongly assumes RTC as LOCALTIME|
|Description||Official AMI assumes syetem real-time-clock as LOCALTIME,|
but it is incorrect because EC2 supplies their RTC clock as UTC.
> Update the /etc/sysconfig/clock file with the new time zone.
> Do not change the UTC=true entry to another value.
> This entry is for the hardware clock,
> and does not need to be adjusted
> when you're setting a different time zone on your instance.
It may cause inaccurate time settings, espacially time zone is set OTHER THAN UTC.
Please consider changing default RTC setting, to UTC.
|Steps To Reproduce||[[email protected] ~]$ timedatectl status|
Local time: Wed 2021-10-13 09:46:11 UTC
Universal time: Wed 2021-10-13 09:46:11 UTC
RTC time: Wed 2021-10-13 09:46:11
Time zone: UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: yes <------ INCORRECT FOR AWS
Warning: The system is configured to read the RTC time in the local time zone.
This mode cannot 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'.
|Additional Information||Tested at ap-northeast-1.|
AlmaLinux OS 8.4 x86_64-stage2-c076b20a-2305-4771-823f-944909847a05
RHEL 8, CentOS 8 and Rocky Linux 8 do not have this bug.
This bug exists only on AlmaLinux 8.
|Tags||aws, Bug, cloud|
Thanks for making AlmaLinux better. You can get the updated AMIs from the Community AMI wiki page or AWS Marketplace. You'll get the product subscription e-mail when the second one is published on the AWS Marketplace by Amazon.
 Community AMI wiki page: https://wiki.almalinux.org/cloud/AWS.html
|2021-10-13 09:55||atapy||New Issue|
|2021-10-17 15:05||lkhn||Note Added: 0000353|
|2021-10-17 15:06||lkhn||Tag Attached: aws|
|2021-10-17 15:07||lkhn||Tag Attached: cloud|
|2021-10-17 15:07||lkhn||Tag Attached: Bug|
|2021-10-25 09:11||alukoshko||Assigned To||=> alukoshko|
|2021-10-25 09:11||alukoshko||Status||new => resolved|
|2021-10-25 09:11||alukoshko||Resolution||open => fixed|