Explicitly require Java timezone data dependency #7675
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes an error encountered in
java-11-openjdk-11.0.20.0.8-2
on Rocky Linux, where it no longer hasjava-tzdata
as a dependency, yet it installs a symlink to thetzdb.dat
file that would be installed in that dependency. To reproduce:$ docker run --rm rockylinux:8 bash -c 'dnf -y install java-11-openjdk-headless && realpath /usr/lib/jvm/java-11-openjdk-*/lib/tzdb.dat' [...] realpath: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat: No such file or directory
The fix is to require that dependency in the Traffic Router maven RPM configuration.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Try to build Traffic Router, verify you don't get an error. Alternatively, just check the result of the CI, which covers this change.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist