Skip to content

Conversation

@jmtd
Copy link
Member

@jmtd jmtd commented Nov 20, 2025

jmtd added 2 commits November 20, 2025 16:30
Signed-off-by: Jonathan Dowland <[email protected]>
Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd added the ubi9 RHEL UBI 9 label Nov 20, 2025
Comment on lines +17 to +24
# Update securerandom.source for quicker starts (must be done after removing jdk 8, or it will hit the wrong files)
JAVA_SECURITY_FILE=/usr/lib/jvm/java/conf/security/java.security
SECURERANDOM=securerandom.source
if grep -q "^$SECURERANDOM=.*" $JAVA_SECURITY_FILE; then
sed -i "s|^$SECURERANDOM=.*|$SECURERANDOM=file:/dev/urandom|" $JAVA_SECURITY_FILE
else
echo $SECURERANDOM=file:/dev/urandom >> $JAVA_SECURITY_FILE
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we don't need this anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ubi9 RHEL UBI 9

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants