{"action":"created","issue":{"url":"https://api.github.com/repos/gmkurtzer/singularity/issues/211","repository_url":"https://api.github.com/repos/gmkurtzer/singularity","labels_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/211/comments","events_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/211/events","html_url":"https://github.com/gmkurtzer/singularity/issues/211","id":176543680,"number":211,"title":"singularity shell fails with various errors","user":{"login":"vladfi1","id":691536,"avatar_url":"https://avatars.githubusercontent.com/u/691536?v=3","gravatar_id":"","url":"https://api.github.com/users/vladfi1","html_url":"https://github.com/vladfi1","followers_url":"https://api.github.com/users/vladfi1/followers","following_url":"https://api.github.com/users/vladfi1/following{/other_user}","gists_url":"https://api.github.com/users/vladfi1/gists{/gist_id}","starred_url":"https://api.github.com/users/vladfi1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladfi1/subscriptions","organizations_url":"https://api.github.com/users/vladfi1/orgs","repos_url":"https://api.github.com/users/vladfi1/repos","events_url":"https://api.github.com/users/vladfi1/events{/privacy}","received_events_url":"https://api.github.com/users/vladfi1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-13T04:04:52Z","updated_at":"2016-09-13T04:14:49Z","closed_at":null,"body":"After creating an ubuntu image with the following definition\r\n\r\n    DistType \"debian\"\r\n    MirrorURL \"http://us.archive.ubuntu.com/ubuntu/\"\r\n    OSVersion \"xenial\"\r\n\r\n    Setup \r\n    Bootstrap\r\n\r\n    Cleanup\r\n\r\nI try to enter into a shell, but randomly get one of two errors:\r\n\r\n    ERROR  : Failed to execv() /bin/sh: Operation not permitted\r\n    ABORT  : Retval = 255\r\n\r\nor\r\n\r\n    ERROR  : Could not read /var/singularity/mnt/final/etc/passwd: Operation not permitted\r\n    ERROR  : Failed copying template passwd file to sessiondir: Operation not permitted\r\n    ABORT  : Retval = 255\r\n\r\nRarely, but especially the first time, I do actually get into a shell."},"comment":{"url":"https://api.github.com/repos/gmkurtzer/singularity/issues/comments/246568889","html_url":"https://github.com/gmkurtzer/singularity/issues/211#issuecomment-246568889","issue_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/211","id":246568889,"user":{"login":"gmkurtzer","id":13984965,"avatar_url":"https://avatars.githubusercontent.com/u/13984965?v=3","gravatar_id":"","url":"https://api.github.com/users/gmkurtzer","html_url":"https://github.com/gmkurtzer","followers_url":"https://api.github.com/users/gmkurtzer/followers","following_url":"https://api.github.com/users/gmkurtzer/following{/other_user}","gists_url":"https://api.github.com/users/gmkurtzer/gists{/gist_id}","starred_url":"https://api.github.com/users/gmkurtzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmkurtzer/subscriptions","organizations_url":"https://api.github.com/users/gmkurtzer/orgs","repos_url":"https://api.github.com/users/gmkurtzer/repos","events_url":"https://api.github.com/users/gmkurtzer/events{/privacy}","received_events_url":"https://api.github.com/users/gmkurtzer/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T04:14:49Z","updated_at":"2016-09-13T04:14:49Z","body":"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?\r\n\r\nAlso if you want to compare, might be interesting to test against github master branch. "}}
{"actor":{"display_login":"gmkurtzer"}}