From 699c19e972a3cbcc714403aedffcb5ff74386cfc Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Oct 2025 03:53:20 +0900 Subject: hst/container: optional runtime and tmpdir sharing Sharing and persisting these directories do not always make sense. Make it optional here. Closes #16. Signed-off-by: Ophestra --- dist/comp/_hakurei | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dist') diff --git a/dist/comp/_hakurei b/dist/comp/_hakurei index 7f3974b8..d1c7d4f2 100644 --- a/dist/comp/_hakurei +++ b/dist/comp/_hakurei @@ -12,6 +12,8 @@ _hakurei_run() { '-g[Groups inherited by all container processes]: :_groups' \ '-d[Container home directory]: :_files -/' \ '-u[Passwd user name within sandbox]: :_users' \ + '--private-runtime[Do not share XDG_RUNTIME_DIR between containers under the same identity]' \ + '--private-tmpdir[Do not share TMPDIR between containers under the same identity]' \ '--wayland[Enable connection to Wayland via security-context-v1]' \ '-X[Enable direct connection to X11]' \ '--dbus[Enable proxied connection to D-Bus]' \ -- cgit v1.3.1