Because this support requires big changes to WSL, Microsoft says current support is opt-in. That means users who don’t want their current distros affected avoid systemd. However, after feedback and previewing, Microsoft says it will bring full support by default. Canonical – the company behind Ubuntu – provided Microsoft with technical support. According to the companies, it was important for WSL to finally get systemd. Many of the popular Linux distributions use the suite, which provides software components for the Linux OS. For example, Canonical’s own Snap software packaging and deployment system uses the suite.

Details

In a blog post to announce the support, Microsoft explains the technical aspects of bringing systemd to Windows Subsystem for Linux: “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) and to have compatibility with WSLg, It is also important to note that with these change, systemd services will NOT keep your WSL instance alive.” Windows Insiders can grab the latest WSL update now, before it comes to all users in the coming weeks. Of course, you can also grab the update manually through GitHub. Tip of the day: Did you know that you can assign keyboard shortcuts for starting applications quickly in Windows 11 and Windows 10? This is a great way to have your most used programs always at your fingertips. In our tutorials we show you how to set those hotkeys for your favorite apps.

Microsoft Collaborates with Canonical to Bring Systemd to WSL - 38Microsoft Collaborates with Canonical to Bring Systemd to WSL - 36Microsoft Collaborates with Canonical to Bring Systemd to WSL - 37Microsoft Collaborates with Canonical to Bring Systemd to WSL - 78Microsoft Collaborates with Canonical to Bring Systemd to WSL - 99