From 2363d1be1027591a1f4b612a79801c568f32dd6e Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Thu, 14 Aug 2025 16:53:09 -0500 Subject: [PATCH] Make cefs mount_propagate Needed for autofs. Needs our patched nsjail to work --- etc/nsjail/compilers-and-tools.cfg | 4 ++++ etc/nsjail/user-execution.cfg | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/etc/nsjail/compilers-and-tools.cfg b/etc/nsjail/compilers-and-tools.cfg index cc64cb20e..77cbb399b 100644 --- a/etc/nsjail/compilers-and-tools.cfg +++ b/etc/nsjail/compilers-and-tools.cfg @@ -235,6 +235,10 @@ mount { src: "/cefs" dst: "/cefs" is_bind: true + # needed for cefs to see new mounts. + # needs ce's patched nsjail to work + # http://github.com/compiler-explorer/nsjail + needs_mount_propagation: true } # Needed for icc diff --git a/etc/nsjail/user-execution.cfg b/etc/nsjail/user-execution.cfg index 27290e0a0..7f136735a 100644 --- a/etc/nsjail/user-execution.cfg +++ b/etc/nsjail/user-execution.cfg @@ -213,6 +213,10 @@ mount { src: "/cefs" dst: "/cefs" is_bind: true + # needed for cefs to see new mounts. + # needs ce's patched nsjail to work + # http://github.com/compiler-explorer/nsjail + needs_mount_propagation: true } # Remove some sensitive stuff from execution