cmd/initContainer: Enable display servers to get the seat for a session

... by giving access to /run/systemd/sessions from the host operating
system.

https://github.com/containers/toolbox/issues/992

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2022-01-24 17:52:40 +01:00 committed by Debarshi Ray
parent e0cd693893
commit 850ba73a7c

View file

@ -56,6 +56,7 @@ var (
{"/run/libvirt", "/run/host/run/libvirt", ""}, {"/run/libvirt", "/run/host/run/libvirt", ""},
{"/run/systemd/journal", "/run/host/run/systemd/journal", ""}, {"/run/systemd/journal", "/run/host/run/systemd/journal", ""},
{"/run/systemd/resolve", "/run/host/run/systemd/resolve", ""}, {"/run/systemd/resolve", "/run/host/run/systemd/resolve", ""},
{"/run/systemd/sessions", "/run/host/run/systemd/sessions", ""},
{"/run/udev/data", "/run/host/run/udev/data", ""}, {"/run/udev/data", "/run/host/run/udev/data", ""},
{"/tmp", "/run/host/tmp", "rslave"}, {"/tmp", "/run/host/tmp", "rslave"},
{"/var/lib/flatpak", "/run/host/var/lib/flatpak", "ro"}, {"/var/lib/flatpak", "/run/host/var/lib/flatpak", "ro"},