From: Daan De Meyer Date: Fri, 28 Jul 2023 13:51:48 +0000 (+0200) Subject: run: Unshare pid namespace again in bwrap() X-Git-Tag: v15~61^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2386ee11f5df194b1d050b4f10b7afa1cfab56f;p=thirdparty%2Fmkosi.git run: Unshare pid namespace again in bwrap() This was removed when we had a brief experiment with running everything with bwrap(), but since we don't do that anymore, let's add this back to make chroot detection work again. --- diff --git a/mkosi/run.py b/mkosi/run.py index af2d39f8c..5ec2ac2c7 100644 --- a/mkosi/run.py +++ b/mkosi/run.py @@ -262,6 +262,7 @@ def bwrap( "bwrap", "--dev-bind", "/", "/", "--chdir", Path.cwd(), + "--unshare-pid", "--die-with-parent", *options, ]