Skip to content

Commit bd11b96

Browse files
committed
debug
1 parent 7f0119c commit bd11b96

File tree

1 file changed

+2
-1
lines changed
  • components/ws-daemon/nsinsider

1 file changed

+2
-1
lines changed

components/ws-daemon/nsinsider/main.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ func main() {
215215
Userns_fd: uint64(usernsFD.Fd()),
216216
})
217217
if err != nil {
218-
return xerrors.Errorf("mountsetattr: %w", err)
218+
mp, _ := os.ReadFile(filepath.Join(filepath.Dir(userns), "uid_map"))
219+
return xerrors.Errorf("mountsetattr: %w (map: %s)", err, string(mp))
219220
}
220221

221222
err = unix.MoveMount(mappedFD, "", unix.AT_FDCWD, mappedLower, flagMoveMountFEmptyPath)

0 commit comments

Comments
 (0)