-
Notifications
You must be signed in to change notification settings - Fork 476
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
Missing libnss3.so after updating openjdk:8-jdk-alpine image #289
Comments
same here |
I'm basing my image on It's unclear what the work around is at this point. I hope this gets fixed soon. |
so far i've have fixed the issue by doing
on my Dockerfile, that install the missing .so file, but i don't know why it was present before and not now |
We've also just been hit with this. We execute an
The root cause appears to be the PostgreSQL driver establishing an SSL connection to an RDS endpoint. Here's the output from our
I'm not sure which of the upgraded packages is causing APK to purge Edit: should probably add that we're targeting |
Looks like someone filed a bug upstream about this https://bugs.alpinelinux.org/issues/10126 |
Probing the issue; I'm not so sure this is a bug with / # apk --upgrade add openjdk8-jre-base
(1/4) Upgrading openjdk8-jre-base (8.191.12-r0 -> 8.201.08-r0)
(2/4) Purging nss (3.41-r0)
(3/4) Purging nspr (4.20-r0)
(4/4) Purging sqlite-libs (3.26.0-r3)
Executing java-common-0.1-r0.trigger
OK: 98 MiB in 51 packages As a side note doing an |
Thank you guys for your feedback, @wglambert , The problem is that we are updating I think the safest approach for now is to follow @gato 's recommendation, or find the last working openjdk image as what @danielgrant has mentioned. I remember pulling the latest (upgraded) working image around last Friday, maybe I'll start there. Saying that, I don't think that this is a solution; but rather a workaround. Since this is my first time logging an issue here, do you think that we should close this one as it was already logged upstream ? |
Just want to say having had the same problem this solution worked perfectly for us. |
Taking a quick look between version I wonder if this was caused by increasing the version of IcedTea from
|
Changes: - Add default `logging.properties` file - Add property `LOGGING_LEVEL` to enable changing logging level while starting the container - Add description on how to build custom Hazelcast Image for testing - Add `apk add --no-cache nss` (unrelated, but needed because of the change in Alpine, read more [here](docker-library/openjdk#289 (comment)))
You safe my day man. Thanks :) |
FYI this has been resolved upstream: https://git.alpinelinux.org/aports/commit/?id=a0a5ffcea690a74b6f8c240d811be43542af60a6 |
It appears that nss has been removed from current versions for Apline Linux [1]. It needs to be there for secure connections. [1] docker-library/openjdk#289
It appears that nss has been removed from current versions for Apline Linux [1]. It needs to be there for secure connections. [1] docker-library/openjdk#289
Hello,
I have a docker file that builds openjdk:8-jdk-alpine based images. When updating the image internally (from the docker file) using
apk update && apk upgrade
, and running my (spring-boot) app, it throwsjava.io.IOException: Error loading shared library libnss3.so: No such file or directory
. However; after removing theapk update && apk upgrade
and building the image again, the app runs smoothly.I have logged into my images in both cases, and made sure that the file wasn't there on the first case, and was there after removing
apk update && apk upgrade
. In the later case, it was located in/usr/lib/
Is this a bug, or can you please inform me of what I might be missing ?
The text was updated successfully, but these errors were encountered: