-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Windows Version
Microsoft Windows [Version 10.0.26200.7171]
WSL Version
2.6.2.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
6.6.87.2-1
Distro Version
Oracle Linux 8.10
Other Software
No response
Repro Steps
- Install wsl on Windows 11 (wsl --install)
- Install Ubuntu (if not already installed) and run first user setup
- Install OracleLinux_8_10 (OEL 8.10) from MS Store and run first user setup
- Enable systemd on OEL 8.10 (/etc/wsl.conf [boot]\nsystemd=true)
- Shut down wsl (wsl --shutdown)
- Launch Ubuntu (wsl -d Ubuntu)
- systemd user session is ok (systemctl status --user)
- Launch OEL 8.10 (wsl -d OracleLinux_8_10)
- see error "wsl: Failed to start the systemd user session for 'user'. See journalctl for more details."
- systemd user session is not good (systemctl status --user) gets error "Failed to connect to bus: No such file or directory")
Reversing the WSL instance start order (OEL 8.10 first then Ubuntu) will result in both instances having working systemd user sessions.
Note this worked fine on WSL 2.4.13.0
Expected Behavior
systemd user session operates successfully regardless of distribution launch order.
Actual Behavior
systemd user session fails to start in OEL 8.10 unless it is the first distribution to be started
Diagnostic Logs
Metadata
Metadata
Assignees
Labels
No labels