[Bug 1187209] podman uses wrong uid when changing user with su
https://bugzilla.suse.com/show_bug.cgi?id=1187209 https://bugzilla.suse.com/show_bug.cgi?id=1187209#c1 Alexandre Vicenzi <alexandre.vicenzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandre.vicenzi@suse.com, | |sbrabec@suse.com Status|NEW |CONFIRMED Flags| |needinfo?(sbrabec@suse.com) --- Comment #1 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- I can reproduce this on Tumbleweed, but the issue (or intended behavior) seems to be with su command. alexandre@localhost:~> su test test@localhost:~> echo $XDG_RUNTIME_DIR /run/user/1000 alexandre@localhost:~> su -l test test@localhost:~> echo $XDG_RUNTIME_DIR <empty result> If you use su -l test to start a new login shell Podman works as expected (same as sudo -u test -s). Podman fails because the session is using the old user environment variables and causes the ownership error. Stanislav, can you help here? Is the su behavior expected? or should it clean env vars? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com