You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enabling native systemd support and rebuild, switch and restart system you will be unable to log in to your system unless you use the recovery shell or use the shell binary directly instead of the wrapper.
Note: While trying to find what was the cause of the issue I rebuilt my home-manager and got Failed to connect to bus: No such file or directory so maybe #375 is related.
To Reproduce
Steps to reproduce the behavior:
Add wsl.nativeSystemd = true;
Run sudo nixos-rebuild switch
Run wsl --shutdown in cmd.
Run wsl -d NixOS in cmd. NixOS should be your nixos distro's name in wsl.
Logs
thread 'main' panicked at src/shell_wrapper.rs:105:10:
called `Result::unwrap()` on an `Err` value: When initializing journal logger
Caused by:
No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
As for the underlying problem: Can you send me the output of dmesg executed in another distro right after this happens. To reduce the size of the output, it probably makes sense to shut down WSL with wsl --shutdown before that
Bug description
When enabling native systemd support and rebuild, switch and restart system you will be unable to log in to your system unless you use the recovery shell or use the shell binary directly instead of the wrapper.
Note: While trying to find what was the cause of the issue I rebuilt my home-manager and got
Failed to connect to bus: No such file or directory
so maybe #375 is related.To Reproduce
Steps to reproduce the behavior:
Add
wsl.nativeSystemd = true;
Run
sudo nixos-rebuild switch
Run
wsl --shutdown
in cmd.Run
wsl -d NixOS
in cmd. NixOS should be your nixos distro's name in wsl.Logs
WSL version
2.0.9.0
The text was updated successfully, but these errors were encountered: