128 points · by fraqed · 5y ago · 43 comments
But since WSL 2 it does use a VM. According to wikipedia:
"a real Linux kernel,[4] through a subset of Hyper-V features." "with a Linux kernel running in a lightweight virtual machine environment."
edit: unless they mean user overhead of getting it to work. I kind of read it as performance overhead.
As a related sidenote: Try doing an apt install metasploit inside a "VM" while an antivirus is running on the host.
You'll soon realize that the "VM" will be bricked by quarantine actions on the NTFS based filesystem, which kind of defeats the reason of the V in VM.
I fear once more people realize this, there'll be NTFS stream based "hidden" malware and other filesystem rights abusing tools everywhere all over again.
Might be a good way to avoid this behavior. The default (from the Windows Store) Ubuntu based VM however doesn't use filesystem level encryption, and every folder or file inside the "VM" is available somewhere buried in the Roaming folders.
Plus WLS 1 is marginally easier to install because you don't have to enable Hyper-V
See: https://docs.microsoft.com/en-us/windows/wsl/install-win10
What?
Isn't that the biggest selling point of MacOS on HN/Reddit?
The fact remains, no matter the tone.
Most, not all Windows users CBA with "computers" and call _us_ to install software.
There's a reason shops charge a fortune for basic maintenance. People don't have the time/inclination to learn it.
This is my own opinion, based on my own experience. YMMV.
If you actually don't have admin rights, was this WSL1?
the nature of the ones they found sound simplistic. just python scripts in one of those self extract and run bundled python interpreter and included script single file executable archive things.
It sort of hints that you could coax LxssManager.dll into running an elf binary without WSL itself really running. Though you would need to do some things to make lxss happy, so it's not trivial.