Doing this apparently[0] breaks using `wsl --manage <distro> --set-default-user` (in my test, wsl says it completed successfully, but actually doesn't do anything at all). Since we set the default UID in wsl-distribution.conf, the default default user will be UID 1000, which we expect to create anyway. While it's nice to support old versions of WSL, I think it's also reasonable to require users to update to ensure things work. For example, most things in Fedora expect cgroups v2, but WSL only removed cgroups v1 in 2.5. If users report an issue and note they're not using the latest WSL stable release I'm just going to tell them to reproduce it on the latest, and if they can't I'm not going to spend any time trying to make it work. [0] https://github.com/microsoft/WSL/pull/13094#issuecomment-2971990351 Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com> |
||
---|---|---|
.gitignore | ||
firstboot-override.conf | ||
LICENSE | ||
README.md | ||
sources | ||
wsl-distribution.conf | ||
wsl-oobe.sh | ||
wsl-setup | ||
wsl-setup-tmpfiles.conf | ||
wsl-setup-user-tmpfiles.conf | ||
wsl-setup.spec | ||
wsl.conf |
wsl-setup
The wsl-setup package