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
So this is by design that hooks are to be executed in confined namespace and not compatible to user namespacing?
If the hook runs in the user namespace, then it cannot access that directory. What should crun do?
I was opening a issue since the error comes even before any execvpe call (and this means the behavior is indepent of the type of hook). Which means any hook will fail in this case. Is this expected?
After a strace, it seems the process that failed generates following log:
which indicates that exec failed even before exec'ing the hook, it looks like somewhere around
crun/src/libcrun/container.c
Lines 781 to 800 in 5ceb2a1
crun/src/libcrun/utils.c
Lines 1630 to 1631 in 5ceb2a1
called the chdir that failed.
The text was updated successfully, but these errors were encountered: