From b2efffdaa4fc90bb509d09459926db0842a9e258 Mon Sep 17 00:00:00 2001 From: Ivy Fay <3936-Delmer84@users.noreply.0xacab.org> Date: Wed, 18 Dec 2019 02:23:43 -0800 Subject: [PATCH] sandbox: stop mounting new filesystem on /tmp Mounting new, empty filesystem on /tmp makes impossible to use mat2 for manipulating files stored there. Especially it breaks running tests while creating package and using /tmp as temporary builddir which is common setup in Arch Linux: https://aur.archlinux.org/packages/mat2/#comment-721221 --- libmat2/bubblewrap.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py index c05bdaa..7a70635 100644 --- a/libmat2/bubblewrap.py +++ b/libmat2/bubblewrap.py @@ -53,7 +53,6 @@ def _get_bwrap_args(tempdir: str, ['--dev', '/dev', '--proc', '/proc', '--chdir', cwd, - '--tmpfs', '/tmp', '--unshare-user-try', '--unshare-ipc', '--unshare-pid',