-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"pivot_root: Invalid argument" when running on a SLURM cluster node from NFS #594
Comments
Sorry, I have only the most vague possible idea of what this is. If the only thing the kernel is willing to tell us is "Invalid argument" then it is unlikely to be solvable without someone with root on a suitable system digging into what the exact situation is. bubblewrap's use of
I'm sure it is, but that desire doesn't make it possible for bubblewrap to do things that the kernel won't allow. |
As a general thing, if there is key information about your system that is unusual and likely to be part of the root cause for an issue, please make sure to mention it in the issue title. Unfortunately it's quite common for the only information available to be |
The failing |
The failure happens even with the minimum possible setup: |
No, the use of Old versions of bubblewrap used |
Oh, good to know that it actually matches my other result made of a fakeroot/fakechroot pair: there I don't see the need for |
I've figured out that bubblewrap works when my root folder is on the local disk. But when I go to the compute node of cluster, this local disk is now mounted via NFS. And this seems to be the actual reason why bubblewrap does not work: it does not like NFS. Is |
|
Yes, however Linux can even boot with NFS root filesystem, this is known to work since classic times. This problem is not well known, I found only one related issue. |
FWIW, the documented cases of EINVAL
|
Anyway, I'm going to offer #595 as a workaround to allow smoother behavior on systems with failing |
Yes, I've checked, nothing here that my case could possibly fall into. In order to learn more, I need to do kernel debugging, which I can't do easily: will need to replicate the entire system locally. |
When running bwrap within a job of a SLURM cluster node, I get the following error:
It's highly desirable to let bwrap pass through srun, because this way bwap would also work for the cluster jobs!
The text was updated successfully, but these errors were encountered: