system/dbus: share host net ns for abstract
All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m5s
Test / Hakurei (push) Successful in 3m3s
Test / Hpkg (push) Successful in 4m3s
Test / Sandbox (race detector) (push) Successful in 4m24s
Test / Hakurei (race detector) (push) Successful in 4m58s
Test / Flake checks (push) Successful in 1m19s
All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m5s
Test / Hakurei (push) Successful in 3m3s
Test / Hpkg (push) Successful in 4m3s
Test / Sandbox (race detector) (push) Successful in 4m24s
Test / Hakurei (race detector) (push) Successful in 4m58s
Test / Flake checks (push) Successful in 1m19s
Host abstract unix sockets are only accessible when also in the init net ns. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
5b73316ae0
commit
d500d6e559
@ -98,9 +98,8 @@ func (p *Proxy) Start() error {
|
|||||||
for _, name := range upstreamPaths {
|
for _, name := range upstreamPaths {
|
||||||
z.Bind(name, name, 0)
|
z.Bind(name, name, 0)
|
||||||
}
|
}
|
||||||
if len(upstreamPaths) == 0 {
|
z.HostNet = len(upstreamPaths) == 0
|
||||||
z.HostAbstract = true
|
z.HostAbstract = z.HostNet
|
||||||
}
|
|
||||||
|
|
||||||
// parent directories of bind paths
|
// parent directories of bind paths
|
||||||
sockDirPaths := make([]*container.Absolute, 0, 2)
|
sockDirPaths := make([]*container.Absolute, 0, 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user