Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-66127

CentOS 10 OCI image don't use UTC localtime by default

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • CentOS Stream 10
    • systemd
    • None
    • Yes
    • Important
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 3
    • None
    • CentOS Stream
    • None
    • None
    • None
    • All
    • None

      Hi,

      I am opening this ticket against the "systemd" component as it seems the systemd package provides an empty "/etc/localtime" file, but I am not sure the issue is really on systemd side, it's more a generic issue with the way CentOS 10 images are created.

      We noticed a difference (one can consider it a regression) between CentOS 9 and 10. CentOS 9 OCI images used UTC time by default, while it seems for now CentOS 10 OCI images do use New York time by default:

      rgeissler@ncerndobedev6097:~/wk> podman run -t -i --rm --pull=newer quay.io/centos/centos:stream10-development ls -la /etc/localtime
      lrwxrwxrwx 1 root root 38 Nov  4 16:46 /etc/localtime -> ../usr/share/zoneinfo/America/New_York

       

      rgeissler@ncerndobedev6097:~/wk> podman run -t -i --rm --pull=newer quay.io/centos/centos:stream9 ls -la /etc/localtime
      lrwxrwxrwx 1 root root 29 Oct 28 04:09 /etc/localtime -> ../usr/share/zoneinfo/Etc/UTC

      I don't think this is expected, most likely CentOS 10 images should be configured with UTC time by default like CentOS 9 was.

      Cheers,
      Romain

              systemd-maint systemd maint mailing list
              romain.geissler@amadeus.com Romain Geissler
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: