summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
authorPoncho2019-02-09 09:47:40 +0100
committerPoncho2019-02-09 09:49:51 +0100
commita71488d4592cef29d6db0981cd0721250eebaff4 (patch)
treef2bb8669ec76f77c3d2f8f815222f35c4591f98f /libmat2
parent6ef6aaa2221340f03c2571a3141c67ca027f5a4f (diff)
bind mount /etc/ld.so.cache to the sandbox
without /etc/ld.so.cache available in the sandbox, tests fail on gentoo with: /usr/bin/ffmpeg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/subprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmat2/subprocess.py b/libmat2/subprocess.py
index 25646f8..e9c66d9 100644
--- a/libmat2/subprocess.py
+++ b/libmat2/subprocess.py
@@ -47,6 +47,7 @@ def _get_bwrap_args(tempdir: str,
47 '--chdir', cwd, 47 '--chdir', cwd,
48 '--unshare-all', 48 '--unshare-all',
49 '--new-session', 49 '--new-session',
50 '--ro-bind', '/etc/ld.so.cache', '/etc/ld.so.cache',
50 # XXX: enable --die-with-parent once all supported platforms have 51 # XXX: enable --die-with-parent once all supported platforms have
51 # a bubblewrap recent enough to support it. 52 # a bubblewrap recent enough to support it.
52 # '--die-with-parent', 53 # '--die-with-parent',