Skip to content

Commit

Permalink
fix mount setup for initial userns fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
benhurdelhey committed Jan 3, 2025
1 parent 4dbba85 commit ffb7334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runsc/cmd/gofer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit ffb7334

Please sign in to comment.