Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-2990

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Artifacts
    • None
    • 3
    • None
    • Testable
    • rhel-image-mode
    • 2025 Sprint 7
    • Important
    • CentOS Stream

      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

              tdawson@redhat.com Troy Dawson
              romain.geissler@amadeus.com Romain Geissler (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: