-
Notifications
You must be signed in to change notification settings - Fork 816
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 support overrides the user's choice of default target #8844
Labels
Comments
Another thought - the reason I switched my default to multi-user.target in the first place was to avoid, with certain packages installed, graphical.target from trying to start up window managers, graphical login screens, and other such things unlikely to play well in the WSL scenario. |
@cerebrate - you're absolutely right, will fix this pronto. |
Fixed in 68.2, so guess I can close this now. Shiny! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Microsoft Windows [Version 10.0.22000.856]
WSL Version
Kernel Version
5.15.62.1-20220921-1-microsoft-custom-WSL2+
Distro Version
Debian bookworm/sid
Other Software
No response
Repro Steps
Expected Behavior
Upon starting up, systemd should activate the units required by the currently configured default target, as displayed by
systemctl get-default
. On this system at this time, that is multi-user.target .Actual Behavior
Systemd starts up and activates the units required by graphical.target . Upon investigation, this appears to be a result of the command line argument passed to systemd, as seen here:
Specifying a target in this way significantly limits the users' ability to customize systemd behavior.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: