aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-27 20:40:30 +0900
committerOphestra <cat@gensokyo.uk>2025-08-27 20:42:03 +0900
commitacb6931f3e4af62f92dc2ef85ef7c1ac9f7867e4 (patch)
treefe2e2ca8eea50f92273e299ede1ef1f7db985674 /internal
parent9d932d1039f2a8670ecb00d20133096369c5899a (diff)
app/seal: leave $DISPLAY as is on host abstract
This helps work around faulty software that misinterprets unix: DISPLAY string. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/app/seal_linux.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/app/seal_linux.go b/internal/app/seal_linux.go
index 36984c5e..1b363178 100644
--- a/internal/app/seal_linux.go
+++ b/internal/app/seal_linux.go
@@ -418,7 +418,9 @@ func (seal *outcome) finalise(ctx context.Context, sys sys.State, config *hst.Co
}
} else {
seal.sys.UpdatePermType(system.EX11, socketPath.String(), acl.Read, acl.Write, acl.Execute)
- d = "unix:" + socketPath.String()
+ if !config.Container.HostAbstract {
+ d = "unix:" + socketPath.String()
+ }
}
}