-
Notifications
You must be signed in to change notification settings - Fork 30
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
[8pt] Open JDK 17 re-appeared #1278
Comments
I did a
|
oh, very cool. Do we have any for 18 by chance? In our dockerfile, we have code that removes some java folders, but looks like it needs more. Great catch. |
None for 18. |
Oops.. Update. There is no problem (I think) on what is inside the docker container, but what the host is doing. hummmm. I think we have proven the problem is at docker build and not when the docker run command is used, that is putting those files on the host machine. Might be worth checking. |
It occurred to me that a post script would not work as we would have permission issues in OWP servers. But.. two thoughts.
|
The |
ya. It feels like their must be reason, the problem disappeared for a while, then re-appeared, which is why I am wondering now it if is some sort of docker host cache. Weird. If we can't find something in the docker build to upgrade it, or remove it from the host (maybe just in part of the two base images in our dockerfile?), or some sort of appendage to our docker command, I guess we can always jsut see if a reboot after a build. The reboot idea, if it even works, woudl be one of my last options as I don't want to have to keep bugging IT after each docker build, but it is an option (just not a good one, if it even works) |
I sent a message to the gdal-dev mailing list and this is the response that I got:
|
On Aug 8, our security team detected that the Open JDK 17 issue has re-appear.
The security tool picked up the phrase in this folder on our servers.
Path : /var/lib/docker/overlay2/c1e9b64d8e3f562048f29614d8adbdcd42966e1cda566edc74fc0fd9aa0bafef/diff/usr/lib/jvm/java-17-openjdk-amd64/
We no longer need open jdk17 at all.
After some experimenting, when we do a docker build, this folder re-appears, each with a random id after the overlay2 folder.
Soem experimenting was done on how this get there.
Let's look to see if there is something our docker file is building two images and maybe one of those is leaving java17 behind.
Maybe somethign is being left behind, and it might be just a matter of uninstalling java 17 before installing java 21. It is possible and common to have multiple jdk engines on one image or servers.
Lets check out one of our AWS EC2 to see if some docker builds can re-create this folder above and if so, we can debug and fix. Without it, we might have to get creative.
The text was updated successfully, but these errors were encountered: