aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/app/app.go5
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,