From: Alessandro Astone Date: Thu, 8 Dec 2022 18:30:43 +0000 (+0100) Subject: lxc: Mount /dev/shm which might host XDG_RUNTIME_DIR X-Git-Tag: 1.3.4~5 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/38aebb39e4e6fb6c9766d4cd3a11f74d42c9d683?ds=sidebyside lxc: Mount /dev/shm which might host XDG_RUNTIME_DIR --- diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 59b1c91..cb0b56c 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -91,6 +91,8 @@ def generate_nodes_lxc_config(args): # Recursive mount /run to provide necessary host sockets make_entry("/run", options="rbind,create=dir 0 0") + # And /dev/shm + make_entry("/dev/shm", options="rbind,create=dir,optional 0 0") # Necessary sw_sync node for HWC make_entry("/dev/sw_sync")