From: Erfan Abdi Date: Fri, 24 Sep 2021 02:47:34 +0000 (+0330) Subject: lxc: Provide /var/run to container X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/78faa894f0ffb71d97a90cec9fc390f51dc251c9?ds=inline lxc: Provide /var/run to container --- diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 50098ca..578513b 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -105,6 +105,10 @@ def generate_nodes_lxc_config(args): make_entry("/mnt/wslg", "mnt_extra/wslg", options="rbind,create=dir,optional 0 0") + # var + make_entry("tmpfs", "var", "tmpfs", "nodev 0 0", False) + make_entry("/var/run", options="rbind,create=dir,optional 0 0") + return nodes