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>
This commit is contained in:
2025-08-27 20:40:30 +09:00
parent 9d932d1039
commit acb6931f3e
7 changed files with 11 additions and 3 deletions

View File

@@ -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()
}
}
}