Systemd support is now available in Windows Subsystem for Linux (WSL) #Linux #Windows
The Windows Subsystem for Linux (WSL) can now run systemd inside of WSL distros, allowing more with your Linux workflows on Windows machines.
Supporting systemd required changes to the WSL architecture. As systemd requires PID 1, the WSL init process started within the Linux distribution becomes a child process of the systemd. Because the WSL init process is responsible for providing the infrastructure for communication between the Linux and Windows components, changing this hierarchy required rethinking some of the assumptions made with the WSL init process.
Additional modifications had to be made to ensure a clean shutdown (as that shutdown is controlled by systemd now).
To get started, you will need to do these two things: – Ensure you are running the right version of WSL: Version 0.67.6 and above – Set the systemd flag set in your WSL distro settings.
via Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/jbticeM
September 22, 2022 at 07:27AM