From ffb73341c28011380739adb3824d69594bec1a4a Mon Sep 17 00:00:00 2001 From: Ben Hurdelhey Date: Fri, 3 Jan 2025 17:34:38 +0100 Subject: [PATCH] fix mount setup for initial userns fallback --- runsc/cmd/gofer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/cmd/gofer.go b/runsc/cmd/gofer.go index 91c3f40450..2cb59d8e30 100644 --- a/runsc/cmd/gofer.go +++ b/runsc/cmd/gofer.go @@ -532,7 +532,7 @@ func (g *Gofer) setupMounts(conf *config.Config, mounts []specs.Mount, root, pro // to open the mount, so let's try to open it in the // parent user namespace. var res container.OpenMountResult - if err := goferToHostRPC.Call("goferRPC.OpenMount", &m, &res); err != nil { + if err := goferToHostRPC.Call("goferToHostRPC.OpenMount", &m, &res); err != nil { return fmt.Errorf("opening %s: %w", m.Source, err) } srcFile = res.Files[0]