crun icon indicating copy to clipboard operation
crun copied to clipboard

[WIP] src/libcrun: improve error handling for the mnt namespace restoration

Open sohankunkerkar opened this issue 1 year ago • 2 comments
trafficstars

This patch addresses the issue where the setns mnt: Bad file descriptor error can occur during namespace restoration, specifically with the mount namespace (CLONE_NEWNS). The error arises when crun attempts to restore a namespace that hasn't been properly tracked, leading to an invalid file descriptor being passed to setns.

sohankunkerkar avatar Aug 28 '24 17:08 sohankunkerkar