From 38aebb39e4e6fb6c9766d4cd3a11f74d42c9d683 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Thu, 8 Dec 2022 19:30:43 +0100 Subject: [PATCH] lxc: Mount /dev/shm which might host XDG_RUNTIME_DIR --- tools/helpers/lxc.py | 2 ++ 1 file changed, 2 insertions(+) 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") -- 2.47.3