-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Documentation clarification for RHEL and support of "su" for rootless pods #11063
Comments
The issue is Podman expects the user environment to be fully setup. We have had lots of issues when XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS environment variables are not set correctly. sudo -l Should work better. |
Actually, that didn't work in my case, but not for reasons owned by podman. Still working this, but appears to be caused by an issue introduced in pam_systemd, and were reverted to fix. I'm thinking RHEL hasn't included this, yet. Comment for this addition in the code:
But it does raise the question as to whether "DBUS_SESSION_BUS_ADDRESS" is a deprecated interface. I.E. Should podman be using a different method to access the DBUS functions. |
@rhatdan Maybe a typo? Maybe
|
Yup, sorry. |
A friendly reminder that this issue had no activity for 30 days. |
@mheon since you have started on documenting this. |
My apologies, but I'm battling RH support.
Can you say if this statement from Red Hat is wrong in saying that using "su" to access an account to run rootless pods is not supported?
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index#proc_setting-up-rootless-containers_assembly_starting-with-containers
--
1.4. Setting up rootless containers
NOTE
Do not use su or su - commands because these commands do not set the correct environment variables. Use your Red Hat Customer Portal credentials.
--
Thanks
The text was updated successfully, but these errors were encountered: