-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support readonly docker filesystem #1924
Comments
Hi I'm not sure if this will be helpful but the way we got around it so far was to build a Dockerfile based off your docker image and do the sed there.
Then I copied over the start.sh and removed the sed part and that seems to work for us keeping the functionality the way it was. Obviously this is a bit of a pain going forward as we'll have to check if the start.sh doesn't have any changes beyond the sed. I appreciate that there's probably a reason why the sed check is in start.sh but I think if you guys were able to remove the sed if:
from start.sh and into the original Dockerfile, or have some sort of temp if condition in the start.sh to ignore that logic altogether then that would help us out going forward. |
I think we need the sed command in there because that is required to support some older signing algorithms. I think we can do it here: https://github.com/FusionAuth/fusionauth-containers/blob/master/docker/fusionauth/fusionauth-app/Dockerfile#L81 when we are building the previous stage. That might solve the issue, and let us modify Thanks for sharing your workaround! |
Is there a hard requirement to enable the weak SHA-1 algorithm? They have been disabled by https://bugs.openjdk.org/browse/JDK-8259709. It is nice to provide FusionAuth's users with a somehow smooth transition to better algorithms, but after 3 years, maybe it's time to say good bye, with some clear note in the release notes? If, for whatever reason, users would still need to use them, wouldn't it be possible to use |
Introduced with FusionAuth/fusionauth-site#1202 |
We broke live deployments the last time we tried to do this. Some details here: #1814 So we're leery of breaking people again. If we did, we'd want to follow our deprecation policy and give plenty of notice.
Have you tested that workaround, @michaelholtermann ? That is an interesting approach. |
I see, and totally agree with that approach. Never break things silently 👍 But unfortunately, I have no test case at hand, especially no SAMLv2 integration. I just read it from the docs in that file. |
Support readonly docker filesystem
Problem
I want to run the FusionAuth docker image with a readonly filesystem, but I can't. FusionAuth fails to start up, I see a message like:
Solution
Allow me to set
readOnlyRootFilesystem: true
on my docker image. Maybe do any editing in the first stage?Alternatives/workarounds
start.sh
file to not modify${JAVA_DIR}/current/conf/security/java.security
as it currently does.Additional context
Came out of FusionAuth/fusionauth-containers#87 , reported by @GlebKuzmich
This behavior began in 1.37.
Looks related to #1814
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
How to vote
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.
The text was updated successfully, but these errors were encountered: