-
Notifications
You must be signed in to change notification settings - Fork 839
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
[0.68.2] systemd user session destroys /mnt/wslg/runtime-dir #8918
Comments
See also note to #8842. |
As a workaround, this can be avoided by creating the following file as /lib/systemd/system/[email protected]/override.conf:
Which will bypass attempting to create a new user runtime directory for any uids which already have one mounted. |
@cerebrate Amazing thank you very much. I had a hard time figuring this out (/mnt/wslg/runtime-dir being emptied and wayland stopping working) |
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.22000.978]
WSL Version
Kernel Version
5.15.62.1-20220921-1-microsoft-custom-WSL2+
Distro Version
Debian bookworm/sid
Other Software
No response
Repro Steps
/run/user/1000
has/mnt/wslg/runtime-dir
mounted over it.sudo machinectl shell avatar@host
Expected Behavior
The
/run/user/1000
and/mnt/wslg/runtime-dir
directories should have identical contents, consisting of both user session-related and WSLg-related files and sockets.Actual Behavior
/run/user/1000
directory now has only contents belonging to the user session, and none of those pertaining to WSLg./mnt/wslg/runtime-dir
directory is now empty.This appears to be the result of [email protected] not understanding that the user directory is already a mount point.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: