SELinux and julia

schlichtanders
Wed, 24 Jul 2024 14:55:23 +0000
General Usage

Hi there, I am building on top of the julia docker and am running the build inside a kubernetes which has SELinux enabled.

I am getting the following error during build

 > [10/18] RUN <<'EOT' (#!/usr/bin/env julia...):
0.134 ERROR: Unable to load dependent library /usr/local/julia/bin/../lib/julia/libopenlibm.so
0.134 Message:/usr/local/julia/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Permission denied

Has someone seen this already? Is julia itself incompatible with SELinux?

Note: if I build the docker locally on my laptop, same architecture, it actually works and the julia runs. I am super confused.

2 posts - 1 participant