Date: Wed, 3 Apr 2024 13:25:29 +0200 From: =?UTF-8?Q?Goran_Meki=C4=87?= <meka@tilda.center> To: Mario Marietto <marietto2008@gmail.com>, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: Trying to add SystemD to Linux installed on the Linuxulator... Message-ID: <21bbf358-ff86-485d-aecd-9e8c28e7fca5@tilda.center> In-Reply-To: <CA%2B1FSigNw9kq8wrvyJoQpeA1zSMRmStVO2iKPH865hkxa_JDEQ@mail.gmail.com> References: <CA%2B1FSigNw9kq8wrvyJoQpeA1zSMRmStVO2iKPH865hkxa_JDEQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------3C01uzIq5yzbv6OwX2UC0KzB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------3C01uzIq5yzbv6OwX2UC0KzB Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">On 4/3/24 12:55, Mario Marietto wrote:<br> </div> <blockquote type="cite" cite="mid:CA+1FSigNw9kq8wrvyJoQpeA1zSMRmStVO2iKPH865hkxa_JDEQ@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"><span></span> <div class="gmail-text-neutral-content"> <div class="gmail-mb-sm gmail-mb-xs gmail-px-md gmail-xs:px-0"> <div id="gmail-t3_1bupb62-post-rtjson-content" class="gmail-md gmail-text-14"> <p> Hello. </p> <p> 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.... </p> </div> </div> </div> <p> full script here : </p> <p> <a class="gmail-relative gmail-pointer-events-auto moz-txt-link-freetext" href="https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh" rel="noopener nofollow ugc" target="_blank" moz-do-not-send="true">https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh</a> </p> <br> <span class="gmail_signature_prefix">-- </span><br> <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br> </div> </div> </blockquote> <p>Hello,</p> <p>I think you'll have more luck with <a class="moz-txt-link-freetext" href="https://reviews.freebsd.org/D15865">https://reviews.freebsd.org/D15865</a>. I'm not sure it still applies, but PID namespace virtualization is the way to go. Good luck!</p> <p>Regards,<br> meka<br> </p> </body> </html> --------------3C01uzIq5yzbv6OwX2UC0KzB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21bbf358-ff86-485d-aecd-9e8c28e7fca5>
