Change user login to prevent issues with firefox segfaulting (IPC I/O) related errors. TODO: improve init wait depending on whether container has init or not.
Improved waiting for systemd to start system
Fix creation of systemd login sessions to prevent conflict across multiple active sessions.
some containers are not allowing passthrough of certain environment variables without explicitly passing them using sudo's --preserve-env flag
run podman exec command as root since some distros like suse or arch would ask for user password when using su to login even though the user has no password in /etc/shadow
fix pam_systemd not being checked for su on certain distros like suse or arch.
---------
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
Co-authored-by: Luca Di Maio <luca.dimaio1@gmail.com>