diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-19 03:53:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-19 04:11:38 +0900 |
| commit | 699c19e972a3cbcc714403aedffcb5ff74386cfc (patch) | |
| tree | 4f279d0e917d21dc8e40409691b93bbbf44c7667 /dist/comp | |
| parent | b5b30aea2eca15b8a0c9e01d6e3d0e844c99890c (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'dist/comp')
| -rw-r--r-- | dist/comp/_hakurei | 2 |
1 files changed, 2 insertions, 0 deletions
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]' \ |
