aboutsummaryrefslogtreecommitdiffhomepage
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/dbus/proc.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/dbus/proc.go b/system/dbus/proc.go
index 76fe9d45..7c982824 100644
--- a/system/dbus/proc.go
+++ b/system/dbus/proc.go
@@ -98,9 +98,8 @@ func (p *Proxy) Start() error {
for _, name := range upstreamPaths {
z.Bind(name, name, 0)
}
- if len(upstreamPaths) == 0 {
- z.HostAbstract = true
- }
+ z.HostNet = len(upstreamPaths) == 0
+ z.HostAbstract = z.HostNet
// parent directories of bind paths
sockDirPaths := make([]*container.Absolute, 0, 2)