-
Notifications
You must be signed in to change notification settings - Fork 378
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
Implicit binding to temporary location results in failure #5
Comments
To complete the report, when I leave a single binding, even if there is no error, actually two consecutive runs of proot do not behave the same way:
I would expect that at the first run proot creates the /rootfs/opt/gcc-build dir. |
Thanks for this report. Please could you try with PRoot v2.3: binding mechanism was reworked. |
Hello @guillon Do you confirm the release v2.4.1 works as expected in this regard? Cedric. |
Hello @guillon, Feel free to re-open if it is not correctly fixed. Regards, |
With proot v2.2 I have a issue with a double binding to the same location causing errors.
As the implicit binding created by proot itself is choosen, I can't access the actual host location.
I have not seen the issue on previous proot versions.
Note that I have nested bindings, If I remove the three bindings and replace it by a single binding /work1/gcc-build:/opt/gcc-build, I am not able to reproduce the error anymore.
The issue can be reproduced with a very specific sequence:
actually the /rootfs/opt have been created by proot after this run (but the directory /rootfs/opt/gcc-build was not created)
looking at the rootfs proot has now created the /rootfs/opt/gcc-build dir
The test is:
When it fails the following message is outputed:
proot warning: both '/work1/gcc-build' and '/tmp/proot-7886-XwThQF/opt/gcc-build' are bound to '/opt/gcc-build', only the last binding is active.
proot info: started
proot warning: execv("/opt/gcc-build/test.sh"): No such file or directory
proot info: possible causes:
* is a script but its interpreter (eg. /bin/sh) was not found;
* is an ELF but its interpreter (eg. ld-linux.so) was not found;
* is a foreign binary but no was specified;
* does not work correctly (if specified).
proot info: exited
The text was updated successfully, but these errors were encountered: