]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Force user namespace in bubblewrap if we're not running as root
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 21 Jul 2024 20:07:32 +0000 (22:07 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 21 Jul 2024 20:07:32 +0000 (22:07 +0200)
commit01ac080103f2bc61ecc23334b00334e421eebb8a
treeb4a0619a211e4c88909cd75dc7403697b588c5b7
parent9ecfa1cac6670ca4b629a31d1f3832455556e531
Force user namespace in bubblewrap if we're not running as root

Depending on whether bwrap is installed setuid or not it might try
to not create a user namespace. Let's explicitly tell it to create
one if we're not invoking it as root to make sure one is always
created.
mkosi/sandbox.py