Skip to content
Snippets Groups Projects
Commit 6f728031 authored by Simon McVittie's avatar Simon McVittie
Browse files

bwrap: Don't explicitly mount /dev/pts, /dev/shm


bubblewrap mounts filesystems recursively, so mounting /dev is enough,
unless /dev/shm is a symbolic link (which will be handled in a
subsequent commit). /dev/pts is assumed not to be a symbolic link:
there would be no reason to do so.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 60943b8a
No related branches found
No related tags found
1 merge request!325Fix interop with older Upstart- and sysvinit-based OSs
......@@ -355,16 +355,6 @@ pv_bwrap_add_api_filesystems (FlatpakBwrap *bwrap)
"--proc", "/proc",
"--ro-bind", "/sys", "/sys",
NULL);
if (g_file_test ("/dev/pts", G_FILE_TEST_EXISTS))
flatpak_bwrap_add_args (bwrap,
"--dev-bind", "/dev/pts", "/dev/pts",
NULL);
if (g_file_test ("/dev/shm", G_FILE_TEST_EXISTS))
flatpak_bwrap_add_args (bwrap,
"--dev-bind", "/dev/shm", "/dev/shm",
NULL);
}
FlatpakBwrap *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment