diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-24 08:49:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-24 08:49:16 +0900 |
| commit | 2a51b433c89b58fbdb8085e795809a9b7a08f9db (patch) | |
| tree | 23dd05b0414391acb91b9dcf87e3d83c8921f261 /cmd | |
| parent | e5ce36532b5e848be70c3fa0d8c253fb0d8f8da4 (diff) | |
cmd/app: exclude /tmp/ for X11 pathname socket
This would otherwise cover the pathname socket.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/app/app.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/app/app.go b/cmd/app/app.go index 308e8131..59bc93ae 100644 --- a/cmd/app/app.go +++ b/cmd/app/app.go @@ -309,7 +309,10 @@ func parse( c.SystemBus = nil } - if c.Container.Flags&hst.FShareTmpdir == 0 { + if c.Container.Flags&hst.FShareTmpdir == 0 && + (c.Enablements.Unwrap()&hst.EX11 == 0 || + c.Container.Flags&(hst.FHostNet|hst.FHostAbstract) == + hst.FHostNet|hst.FHostAbstract) { c.Container.Filesystem = append(c.Container.Filesystem, hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSEphemeral{ Target: fhs.AbsTmp, |
