From dc579dc610e484e40b57951e8f82580c8b711eca Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 26 Dec 2024 16:36:03 +0900 Subject: [PATCH] dbus/run: bind ldd entry absolute name The ld.so entry has an absolute name. They are usually symlinks so binding path does not guarantee ld.so availability under its expected path in the mount namespace. Signed-off-by: Ophestra --- dbus/run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbus/run.go b/dbus/run.go index f648f00..1b85b12 100644 --- a/dbus/run.go +++ b/dbus/run.go @@ -93,6 +93,9 @@ func (p *Proxy) Start(ready chan error, output io.Writer, sandbox bool) error { if path.IsAbs(ent.Path) { roBindTarget[path.Dir(ent.Path)] = struct{}{} } + if path.IsAbs(ent.Name) { + roBindTarget[path.Dir(ent.Name)] = struct{}{} + } } // resolve upstream bus directories