From 2a51b433c89b58fbdb8085e795809a9b7a08f9db Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 24 Jun 2026 08:49:16 +0900 Subject: [PATCH] cmd/app: exclude /tmp/ for X11 pathname socket This would otherwise cover the pathname socket. Signed-off-by: Ophestra --- cmd/app/app.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,