linux-oracle-jre18-8.221 in jail as non-root user

Miroslav Šilhavý silhavy at jelly.cz
Fri Aug 23 05:43:37 UTC 2019


Hello,
I am trying to get linux-oracle-jre18-8.221 working within a jail as non privileged user.

When I install the package (from ports) on raw FBSD 12, everything works OK. Java is able to run under root account and under arbitrary user as well.

When I reproduce the same steps within a jail, I am able to run java under root account. But under arbitrary user java binary gets stucked. I am trying to run pure java binary (/usr/local/linux-oracle-jre1.8.0/bin/java) with no parameters which should lead to print java’s usage help. But execution stucks, nothing is printed to output and binary never finishes.

Is it even possible to run Oracle Java under jail under unprivileged user? Do I miss something?


Mirek


More information about the freebsd-java mailing list