DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 382 forks source link

This solution still works fine #94

Open aki-k opened 1 year ago

aki-k commented 1 year ago

[Does not work anymore!]

I have no idea why that text has been added to the description. This script still works fine. The only thing I change is basic.target to multi-user.target in both enter-systemd-namespace and start-systemd-namespace

aki-k commented 1 year ago

It still works for Ubuntu 20.04 but not for Ubuntu 22.04.

aki-k commented 1 year ago

This fix works with Ubuntu 22.04:

https://github.com/DamionGans/ubuntu-wsl2-systemd-script/issues/36#issuecomment-732090101

The place for the fix is at the end of enter-systemd-namespace.