aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spcontainer.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/spcontainer.go')
-rw-r--r--internal/app/spcontainer.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/app/spcontainer.go b/internal/app/spcontainer.go
index 62c4f4f7..247b7983 100644
--- a/internal/app/spcontainer.go
+++ b/internal/app/spcontainer.go
@@ -139,7 +139,12 @@ func (s *spFilesystemOp) toSystem(state *outcomeStateSys) error {
varRunNscd,
}
- _, systemBusAddr := dbus.Address()
+ // dbus.Address does not go through syscallDispatcher
+ systemBusAddr := dbus.FallbackSystemBusAddress
+ if addr, ok := state.k.lookupEnv(dbus.SystemBusAddress); ok {
+ systemBusAddr = addr
+ }
+
if entries, err := dbus.Parse([]byte(systemBusAddr)); err != nil {
return &hst.AppError{Step: "parse dbus address", Err: err}
} else {