-
Notifications
You must be signed in to change notification settings - Fork 60
No need for tzdata module #586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ubi10
Are you sure you want to change the base?
Conversation
The tzdata module reinstalls the tzdata RPM. But the tzdata RPM is not installed in the UBI10 minimal image. Signed-off-by: Jonathan Dowland <[email protected]>
The java-21-openjdk-headless RPM in RHEL 10 has a dependency on tzdata-java:
What am I missing? |
Just that tzdata and tzdata-java are distinct RPMs. |
OK. So why do we do the re-install dance on other base images? I have some vague memory of |
You are right to question this. I think the context was around whether Java honoured the Looking at the behaviour for this image, I see the following behaviour (wallclock time is approx 10:48 UTC+1)
no tzdata installed:
tzdata installed:
IOW, to get the correct time we need And so this PR is incorrect in so far as we actually need to install (not reinstall) test files: |
This is required for Java to report the correct time/timezone when the container is used with e.g. `podman --tz` Signed-off-by: Jonathan Dowland <[email protected]>
I think we need a behave test to catch this. |
Thanks for this.
My take is that |
Tricky to test this. Defining |
Ah, podman symlinks |
To summarize the situation: I think OpenJDK works fine with timezones and What breaks without the full IFF the full From our POV then, we have to weigh up the cost of installing full |
The tzdata module reinstalls the tzdata RPM. But the tzdata RPM is not installed in the UBI10 minimal image.