News for hackers. Stuff that matters.
Re:Docker for Mac M1 RC by vetinari on Friday March 19, 2021 @07:40AM (#26512156)
> there was basic functionality missing e.g. I couldn't write and run my own SystemD services. Has the situation improved since then?

No. WSL2 uses it's own, minimal (proprietary) init, which basically launches default shell for the configured user and that's it. No service management in sight, and no equivalent of systemd's user scope or user session either.

Re:Docker for Mac M1 RC by meddlepal on Friday March 19, 2021 @08:18AM (#26512398)
You can boot the WSL vm with systemd but it requires some fiddling.

That said, I've been playing around more and more with WSL2 on a secondary machine as a current primary Fedora user (for about 10 years now) and I really haven't found a good reason why I would need systemd in the WSL2 VM vs the custom init.

Re:Docker for Mac M1 RC by aseipp on Friday March 19, 2021 @01:37PM (#26516126)
A major use case I have for WSL2 requires systemd, full stop (it's critical for the package manager I use.) It's pretty painful not having it available, and this is really something that needs improvement IMO. To be fair, this could be fixed in the software too (to some extent, not fully but working) which would also be a solution. But I suspect this isn't the only problem people encounter. There's a lot people use modern Linux for.

In practice that hasn't been a roadblock for me, because VMWare Workstation 15.5 finally supports running on top of Hyper-V, so I can have both working at once. Moving everything to a single hypervisor API has some nice benefits...

Re:Docker for Mac M1 RC by strictfp on Friday March 19, 2021 @05:29PM (#26518306)
One possible solution to this is removing systemd from all distros. That way you won't need it for your package manager anymore.
Re:Docker for Mac M1 RC by vetinari on Friday March 19, 2021 @06:14PM (#26518676)
Yeah, and let's continue with removing Win32 from Windows. That way other folks do not need to bother with Wine anymore.

/s, obviously.

Re:Docker for Mac M1 RC by stephenr on Sunday March 21, 2021 @11:28AM (#26531148)
A more realistic option is to abandon WSL as yet more crap from Microsoft.
Re:Docker for Mac M1 RC by aseipp on Friday March 19, 2021 @06:28PM (#26518776)
Please take the crybaby shit to Slashdot or something, man. It's not a good look.
Re:Docker for Mac M1 RC by vetinari on Friday March 19, 2021 @08:49AM (#26512657)
It is like Excel - most people use at most 20% of the functionality, but any competitor that implements only 20% is not usable.

Most WSL2 users use it as shell to run occasional ELF/x64 binary that runs in console; for services, they would use Docker Desktop for Windows. Anything beyond that and you will quickly find out, that it is not really a standard linux distribution.