-
Notifications
You must be signed in to change notification settings - Fork 427
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
singularity shell fails with various errors #211
Comments
Can you run with the --debug option and send the output? Thanks! |
Thanks for the swift reply! I'll do that right away. I'm also in the irc channel - that might be better for quicker debugging? |
@gmkurtzer Output here: http://lpaste.net/6861355957830549504 |
Quick but not productive. On iPhone now and only for a few lol. Will be able to help more tomorrow but wanted to get the info needed. |
Hrmmmm. That is interesting. Singularly output looks fine. Can you mount the image and do a ls -l and file on /bin/sh inside the container image? Also if you want to compare, might be interesting to test against github master branch. |
Oh wait. You are using master branch. Hrmmmmmmm. Yes. Please mout the image and let's verify that /bin/sh is as it should be. Also can you show me the output of the containers /.shell wrapper? |
I'll give that a try. I am using the master branch, installed as of a few hours ago. I managed to figure out the |
It just occurred to me. What is your umask? Maybe those files got created with restrictive permissions? |
After mounting:
I'm not sure what you mean by the "containers /.shell" wrapper. My umask inside the image is 0022, outside is 0002. |
Ls -l /var/singularity/mint/final/.shell Also can you do an ls -l on dash and also do a file on it? Lastly a dmesg. |
|
At quick glance it looks like a kernel bug in overlayfs. Can you please try to disable the overlayFS support in Singularity Config file and try again? Thanks! |
Ok, I set |
Yep. Kernel bug! Are you running the distributions latest? Can you try a dist-upgrade and see if a newer kernel solves the issue? Thanks! |
I'm running the 4.5.0-040500-generic kernel on ubuntu 16.04. Interestingly, I had no problems with the singularity shell on a remote Centos 7 machine running linux 3.10.0-229.el7.x86_64. I'll try a newer mainline kernel and see how it goes. |
Upgrading to linux 4.8.0 seems to have fixed it (after setting |
Excellent, thank you! |
After creating an ubuntu image with the following definition
I try to enter into a shell, but randomly get one of two errors:
or
Rarely, but especially the first time, I do actually get into a shell.
The text was updated successfully, but these errors were encountered: