mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
I'm not sure why I only see this on some of my machines. Closes: https://bugs.gentoo.org/982101 Signed-off-by: Sam James <sam@gentoo.org>
13 lines
570 B
Diff
13 lines
570 B
Diff
https://bugs.gentoo.org/982101
|
|
--- a/tests/test-sandbox.py
|
|
+++ b/tests/test-sandbox.py
|
|
@@ -309,7 +309,7 @@ class TestSandbox(unittest.TestCase):
|
|
@in_sandbox()
|
|
def test_ro_bind_root_is_recursive(self):
|
|
"""The base --ro-bind / / should apply read-only to sub-mounts."""
|
|
- skip_prefixes = ('/dev', '/proc', '/sys', '/tmp')
|
|
+ skip_prefixes = ('/dev', '/proc', '/sys', '/tmp', '/run')
|
|
for mountpoint in list_mounts():
|
|
if any(mountpoint == p or mountpoint.startswith(p + '/')
|
|
for p in skip_prefixes):
|