forked from rosa/hakurei
cmd/app: exclude /tmp/ for X11 pathname socket
This would otherwise cover the pathname socket. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
+4
-1
@@ -309,7 +309,10 @@ func parse(
|
|||||||
c.SystemBus = nil
|
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,
|
c.Container.Filesystem = append(c.Container.Filesystem,
|
||||||
hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSEphemeral{
|
hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSEphemeral{
|
||||||
Target: fhs.AbsTmp,
|
Target: fhs.AbsTmp,
|
||||||
|
|||||||
Reference in New Issue
Block a user