Closed benoitf closed 8 months ago
Sad enough that the native hypervisor has the same problem.
I am not sure what changed but it looks like coreos actually broke us here. coreos seems to overwrite the default chronyd config so our config doesn't take effect.
https://github.com/coreos/fedora-coreos-tracker/issues/1449 My guess is because the config files are now part of the base image and no longer added via ignition the detection logic no longer works.
cc @baude
@baude I tried but still no luck
core@localhost:~$ timedatectl
Local time: Fri 2024-03-15 23:50:25 CET
Universal time: Fri 2024-03-15 22:50:25 UTC
RTC time: Mon 2024-03-18 09:34:10
Time zone: Europe/Paris (CET, +0100)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
and
core@localhost:~$ sudo cat /run/coreos/sysconfig-chrony
cat: /run/coreos/sysconfig-chrony: No such file or directory
@baude with your new experimental image it is working
core@localhost:~$ timedatectl
Local time: Tue 2024-03-19 09:08:05 CET
Universal time: Tue 2024-03-19 08:08:05 UTC
RTC time: Tue 2024-03-19 08:08:06
Time zone: Europe/Paris (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
this has been fixed in the machine-os images ...
Issue Description
I've my podman machine running since few days
but then the time inside my podman machine is outdated
I noticed that when trying to build an image using fedora
I was receiving
RPM: Signature 20f8 created at Wed Mar 13 10:19:14 2024 invalid: signature is not alive
errorSteps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
I received inside the podman machine
while on my computer
Describe the results you expected
same date in the machine than on the host
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
It was an issue in podman 4 https://github.com/containers/podman/issues/11541 https://github.com/containers/podman/issues/18552