-
Notifications
You must be signed in to change notification settings - Fork 822
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
systemd user session issue with AlmaLinux 9 #9112
Comments
@csaket for some (unknown to me) reason You might try starting this service after AL9 instance is running, as a quick workaround until a fix is provided. Sample output:
and
|
That workaround "works" thanks |
systemd support currently doesn't start user sessions because systemd sessions (and login sessions in general) depend on pam_systemd(8), and thus entering through one of the routes (login, sshd, etc.) that invokes PAM. Since WSL just starts processes inside the instance as the relevant user, PAM isn't invoked, and the systemd user session (and other login-session related things) aren't started up. In short, this is a variant of #8842 . (Unfortunately, there are a variety of complications that can come with manually starting a systemd user session dependent on your version of WSL, such as #8918, #8886, #8846, #9025, etc. to take into account. This is where I'm going to toot my own horn, because this is the bunch of stuff arkane-systems/bottle-imp was built to fix, and whether or not you want to use it, the source should demonstrate how to work around all the above in your own solution.) |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
Microsoft Windows [Version 10.0.22623.875]
WSL Version
Kernel Version
5.15.68.1-microsoft-standard-WSL2
Distro Version
AlmaLinux 9
Other Software
wsl
.wslconfig
wsl.conf
podman 4.1.1
Repro Steps
podman info
reports this issue.systemctl --user status
reports error.Ubuntu 22.04 has no such issues.
Expected Behavior
podman to function correctly
Actual Behavior
user session and dbus errors.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: