-
Notifications
You must be signed in to change notification settings - Fork 97
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
Starting containers fails with EACCESS to bash/sh for select users #63
Comments
Are you sharing your containers with other users?
Is selinux disabled for all users? |
No, they are tied to the individual users. (using ~/.local/enroot or /run/user/###/enroot and stuff)
the unpacked container stuffies in the local directories seem to have ok permissions; how can I debug that?
It is globally disabled
that's an interesting Idea. GPFS does funny things with permissions, but I configured it such that it respects chmod. However, It works for my normal user but not for others. My user has no priviliges (except sudo, but that does not seem to play a role) |
Is GPFS mounted directly or exported through say NFS? You can try executing said binary outside the container to make sure it's enroot related:
Just to make sure, there are not using |
Directly. I'll look. ... Oh dear:
This is NFSv4-Acl format, bu the last blocks each say that: my files have execute by me, theirs dont. |
Ok, its an ACL problem. My home directory is set to give all files BUT: If I
note that this time it says
How does unsquahsfs handle permissions? Do you want this open for future reference or shall I close? |
Squashfs doesn't support ACL iirc, but this shouldn't matter in this instance. There could be a GPFS issue lurking too, could be similar to this if not supported correctly. |
That's what I hoped.
No, different ACL inheritance rules on parent dirs. mine is older and has different rules. I'll have a look how things are after GFPS ACL changes and report back.
That would be .. ungood. |
Ok, it is an ACL problem. |
I think we can close |
Thanks for looking into it! |
Thanks to you for your analysis :) |
This is the only result I could find for this issue, so I'm posting the resolution here. I needed to change the directory for storing enroot data. Apparently the drive was not mounted with "exec" and was causing the execution to fail. Remounting with this:
Resolved the issue for me. |
Yes, this is a not atypical reason for this error |
[Caveat: running the ppc64le branch]
My users report that they cannot start any container; they fail with:
I
strace
d the execution and found the following:For my own unpriviliged user, thinks work fine (sanitized):
For other users, not so much:
== Notes ==
The permissions of
sh
andbash
are ok, and although they have SELinux labels:SELinux is off:
The home directory is on a network file system, but since it works for my unpriviliged user, I don't think that bit matter.
I would appreciate some guidance how to debug here :)
The text was updated successfully, but these errors were encountered: