-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
improve "open /etc/subuid: no such file or directory" error message #1755
Comments
Yes we should give an error that tells the user that those file need to be created and then tell them to read the man page. |
should we move this issue to |
SGTM |
I opened containers/storage#231. I suggest keeping the issue here open until containers/storage#231 is merged and vendored. |
I don't think we should do it at that low of a level, What do you think about something like:
|
@rhatdan SGTM |
I am okay with both solutions 👍 |
This is an issue with an Busybox installation as well, I can add the tc@box:~$ useradd
-sh: useradd: not found
tc@box:~$ man
-sh: man: not found So maybe I will just replace it with some text like "permission denied", rather than adding rootless support... There's some extra stuff that needs to be in place first as well, such as slirp4netns and fuse-overlayfs. Support for "subordinate ids" needs to go here: https://git.busybox.net/busybox/tree/loginutils Before all that is in place in boot2podman, user would just have to know to run i.e. maybe it's more like |
I think we need more documentation, for different platforms as the evolve. RHEL and Centos also do not fully support podman as non root yet. |
@vrothberg @TomSweeneyRedHat Any movement on this? Better documentation in man pages? |
Ok closing. |
I didn't bother with fixing |
Existing openSUSE deployments will run into the issue that
/etc/sub{g,u}id
are not present as no (base) package added those; useradd and usermod don't create those files. I've fixed this via theshadow
package now adding those files so that new installs and new users have proper entries but that doesn't solve the issue for existing users.In other words, existing users don't have this file and will always run into Podman failing with "open /etc/subuid: no such file or directory". I think Podman should catch those errors and guide the user a bit more, maybe even printing the corresponding section from
podman (1)
.The text was updated successfully, but these errors were encountered: