Re: Trying to add SystemD to Linux installed on the Linuxulator...
Date: Wed, 03 Apr 2024 11:25:29 UTC
On 4/3/24 12:55, Mario Marietto wrote: > > Hello. > > There was a time when the developers were working on the WSL vers. 2 > (Windows Subsystem for Linux),and they hadn't developed SystemD yet. > And I remember well that there was an external developer that had > created a dirty but working hack to add it to WSL2. Yesterday I > thought,why not try to adapt it and make it work on Linux (on the > CentOS,maybe or on Ubuntu) that we have installed on our Linux > emulation layer on FreeBSD ? I'm a hobbyist,I'm not sure if it is > really needed. I want to leave the judgement to you. In the meantime > I'll paste the script. I'm not able to adapt the script for the > purpose only by myself,but I can help.... > > full script here : > > https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh > <https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh> > > > > -- > Mario. Hello, I think you'll have more luck with https://reviews.freebsd.org/D15865. I'm not sure it still applies, but PID namespace virtualization is the way to go. Good luck! Regards, meka