Skip to content
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

chroot: does not exist (No such file or directory) #3

Open
mdibaiee opened this issue Mar 31, 2017 · 3 comments
Open

chroot: does not exist (No such file or directory) #3

mdibaiee opened this issue Mar 31, 2017 · 3 comments

Comments

@mdibaiee
Copy link

mdibaiee commented Mar 31, 2017

Hi,

First, thanks for this useful library, it proved to be very useful in my work. 👍

I'm using fchroot to change root to a mounted directory, and sometimes*, I get the error:

chroot: does not exist (No such file or directory)

Now, I checked, the directory to chroot to does exist and works, and re-trying fchroot after a delay doesn't work either. Note that I do a few subsequent fchroot's on the same directory, maybe that's the cause?

* By sometimes I mean, if I re-run the whole program once again, it might or might nor throw an error

@ddssff
Copy link
Member

ddssff commented Mar 31, 2017

It would be great to have a small example program that demonstrates this problem, even intermittantly.

@mdibaiee
Copy link
Author

mdibaiee commented Apr 5, 2017

I tried but I couldn't find out what was the cause of the problem, I tried with different settings but couldn't reproduce it in a minimal sample, if I get to find out the reason, I will let you know. 👍

@ddssff
Copy link
Member

ddssff commented Apr 6, 2017

That would be great - these sorts of bugs are the worst!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants