internal/app/spcontainer: resolve path through dispatcher
Some checks failed
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Failing after 1m6s
Test / Hakurei (push) Failing after 1m33s
Test / Hpkg (push) Failing after 1m55s
Test / Sandbox (race detector) (push) Failing after 2m7s
Test / Hakurei (race detector) (push) Failing after 3m33s
Test / Flake checks (push) Has been skipped
Some checks failed
Test / Create distribution (push) Successful in 36s
Test / Sandbox (push) Failing after 1m6s
Test / Hakurei (push) Failing after 1m33s
Test / Hpkg (push) Failing after 1m55s
Test / Sandbox (race detector) (push) Failing after 2m7s
Test / Hakurei (race detector) (push) Failing after 3m33s
Test / Flake checks (push) Has been skipped
This prevents state from os tainting the test data. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
037144b06e
commit
3f16a20992
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user