You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we really need to hard-fail when we have no cwd?
Put otherwise: is it important that nsenter gets -w set no matter what (especially in the case where cwd does not exist), or can we just "not set" -w when getwd fails?
Description
Investigating rootless-containers/usernetes#327
Current intuition is that the error comes from:
https://github.com/containerd/nerdctl/blob/main/pkg/rootlessutil/parent_linux.go#L87
Do we really need to hard-fail when we have no cwd?
Put otherwise: is it important that nsenter gets
-w
set no matter what (especially in the case where cwd does not exist), or can we just "not set"-w
when getwd fails?cc @AkihiroSuda
Steps to reproduce the issue
Describe the results you received and expected
na
What version of nerdctl are you using?
main
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response
The text was updated successfully, but these errors were encountered: