summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
authorIvy Fay2019-12-18 02:23:43 -0800
committerIvy Fay2019-12-18 02:23:43 -0800
commitb2efffdaa4fc90bb509d09459926db0842a9e258 (patch)
treedbd363dd8c7dbde862c5c2a88c4925680b965edb /libmat2
parent7465cedee790439aff799a68e5071ed96c772b61 (diff)
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
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/bubblewrap.py1
1 files changed, 0 insertions, 1 deletions
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,
53 ['--dev', '/dev', 53 ['--dev', '/dev',
54 '--proc', '/proc', 54 '--proc', '/proc',
55 '--chdir', cwd, 55 '--chdir', cwd,
56 '--tmpfs', '/tmp',
57 '--unshare-user-try', 56 '--unshare-user-try',
58 '--unshare-ipc', 57 '--unshare-ipc',
59 '--unshare-pid', 58 '--unshare-pid',