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

enroot jail runs perfect first time, but fails the second #212

Open
icsy7867 opened this issue Oct 18, 2024 · 1 comment
Open

enroot jail runs perfect first time, but fails the second #212

icsy7867 opened this issue Oct 18, 2024 · 1 comment

Comments

@icsy7867
Copy link

I am really not sure where to start with this issue. I am hoping someone smarter than I might have some magic insight...

Basically, I have an enroot jail, which I imported and created from a docker container. Everything runs 100% fine the first run through.

However, if I kill the enroot jail, and restart it in exactly the same way I get this error:

nvidia-container-cli: initialization error: load library failed: /home/username/.local/share/enroot/enroot_name/usr/bin/../lib64/libnvidia-ml.so.1: file too short
[ERROR] /etc/enroot/hooks.d/98-nvidia.sh exited with return code 1

now if I do an enroot remove enroot_name and I recreate and restart it, it works fine again. Any guidance would be amazing! Thank you!

@3XX0
Copy link
Member

3XX0 commented Oct 19, 2024

Hard to say without more context but my guess is you have libnvidia-container installed in your image with some environment variables that would make it try to load driver libraries that are not yet mounted in the container.

See NVIDIA/libnvidia-container#224

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