Skip to content

Commit

Permalink
Allow mounting /proc in nsjail for konnectors
Browse files Browse the repository at this point in the history
With node 12, the konnectors need a read access to /proc to not crash.

See nodejs/help#2099 for example.
  • Loading branch information
nono committed Aug 29, 2019
1 parent 82502e5 commit 21abc49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/konnector-nsjail-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ nsjail \
--rlimit_nofile 128 \
--rlimit_nproc 512 \
--time_limit "${COZY_TIME_LIMIT}" \
--disable_proc \
--disable_clone_newnet \
--iface_no_lo \
--seccomp_string "${seccomp_string}" \
Expand Down Expand Up @@ -157,7 +156,6 @@ nsjail \
# --rlimit_nofile 128 \
# --rlimit_nproc 512 \
# --time_limit "${COZY_TIME_LIMIT}" \
# --disable_proc \
# --disable_clone_newnet \
# --iface_no_lo \
# --seccomp_string "${seccomp_string}" \
Expand Down

0 comments on commit 21abc49

Please sign in to comment.