WSL

Issues found on WSL

MIT License

Stars
17.1K
Committers
58

Bot releases are visible (Hide)

WSL - 2.0.7

Published by OneBlue 12 months ago

  • Only mirror supported proxy settings when autoproxy is enabled
  • Plumb loopback routes during both IP address add and IP address update operations
  • Add more actionable error message for when Virtual Machine Platform is not present (solves #10666)
  • Add error handling to support servercore SKU
WSL - 2.0.6

Published by OneBlue 12 months ago

  • Fix issue with converting distributions from WSL1 to WSL2
  • Set ApplicationName when creating wslhost / wslrelay processes (solves #10651)
  • Remove spaces in g_ConfigBootInitWaitCommand (solves #10653)
  • Update MSRDC to 1.2.4677
  • Update Microsoft.Direct3D.Linux to version 1.611.1-81528511 (solves #10671)
WSL - 2.0.5

Published by OneBlue almost 1 year ago

  • Promote the following wslconfig settings to [wsl2]: (solves #10616)
    experimental.dnsTunneling -> wsl2.dnsTunneling
    experimental.firewall -> wsl2.firewall
    experimental.networkingMode -> wsl2.networkingMode
    experimental.autoProxy -> wsl2.autoProxy
    Previous settings under the experimental section are still supported for backwards compatibility

  • Fix issue where wslinfo -n is not correctly skipping printing the newline

  • Work around issue where init is being launched without /dev/console, which can cause hangs

  • Remove --event-viewer and --release-notes arguments from wsl.exe usage and various cleanup (solves #10600)

  • Enable process mitigation policies for wslservice and wslnstaller service

  • Improve error handling when distribution VHD fail to mount

  • Add wsl.vhdSize argument for customizing vhd size (solves #10565)

  • Update Microsoft.WSL.Kernel to version 5.15.133.1-1

  • Update WSLg to 1.0.59

WSL - 2.0.4

Published by OneBlue about 1 year ago

  • Resolve potential crash in wslservice.exe
  • Implement /usr/bin/wslinfo binary for querying various state, added --networking-mode argument
wslinfo usage:
    --networking-mode
        Display current networking mode.

    -n
        Do not print a newline.
WSL - 2.0.3

Published by OneBlue about 1 year ago

  • Fix issue when upgrading from 2.0.1 (solves #10560)
  • Continue if unable to reclaim memory. (solves #10534)
WSL - 2.0.2

Published by OneBlue about 1 year ago

  • Create a specialized error code when WSL is called from LocalSystem
  • Fix same version installs and downgrade (solves #10527)
  • Fix upgrade issue caused by setting REINSTALLMODE (solves #10539)
  • Fix race condition causing WslInstaller crash
WSL - 2.0.1

Published by OneBlue about 1 year ago

  • Mount cgroupv2 at /sys/fs/cgroup if cgroupv1 is disabled (solves #10497)
  • Conditionally write the explorer extensions registry keys (solves #9231)
  • Don't try to inherit the same handle twice (solves #10488)
  • Fix parsing of '0GB' memory strings (solves #10503)
  • Update WSLg to 1.0.58
WSL - 2.0.0

Published by OneBlue about 1 year ago

  • Added support for new opt-in experimental features to %USERPROFILE%\.wslconfig. For full info see the WSL docs update: https://aka.ms/wslsep2023updatedocspage
    • experimental.autoMemoryReclaim - Makes the WSL VM shrink in memory as you use it by reclaiming cached memory
    • experimental.networkingMode - A new networking mode for WSL that adds new features and improves network compatibility
    • experimental.dnsTunneling- Changes how WSL resolves DNS requests to improve network compatibility
    • experimental.firewall- Applies Windows firewall rules to WSL, and allows for advanced firewall controls for the WSL VM
    • experimental.autoProxy- Makes WSL automatically use the proxy information from Windows to improve network compatibility
[experimental]
autoMemoryReclaim=gradual | dropcache | disabled
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
  • Store WSL is now accessible from Session 0 (solves #9231)
  • All binaries shipped in the WSL package are now signed
  • Introduce experimental.autoMemoryReclaim setting to %USERPROFILE%\.wslconfig
  • Prompt the user to enable VMP if HNS isn't available on the machine
  • Fix localhost relay failing if ipv6 is disabled
  • Improve error message for WSL1 disabled policy to provide upgrade instructions
  • Fix microk8s scenario for mirrored networking
  • Create shared mounts when init sets up the distro namespace (solves #10410)
  • Detach user block devices before terminating the VM
  • Protect '.wslconfig' from being incorrectly translated
  • Add logic to generate a systemd unit to protect the binfmt interpreter (solves #8843)
  • Fix potential wslservice.exe crash.
  • Retry plan9 mounts on IO error
  • Update Microsoft.WSL.Kernel version 5.15.123.1-1
  • Display a notification prompting the user to install missing optional components
  • Add --manage <distro_name> --set-sparse to wsl.exe
  • Fix various issues with the 'Update available' notification logic
  • Update WSLg to 1.0.57
    • WSL GUI apps now have Windows snapping with the keyboard (Press WIN + an arrow key to snap to the side)
  • Update MSRDC to 1.2.4485
WSL - 1.3.17

Published by OneBlue about 1 year ago

  • Update MSRDC to version 1.2.4485
  • Update WSLg to 1.0.57
WSL - 1.3.15

Published by OneBlue about 1 year ago

  • Update Microsoft.WSL.Kernel to version 5.15.90.4-1
WSL - 1.3.14

Published by OneBlue over 1 year ago

  • Update Microsoft.WSL.Kernel to version 5.15.90.3-1
  • Update MSRDC to 1.2.4419
  • Update Microsoft.WSLg to version 1.0.55
  • Fix /run/user/ being hidden when a new login session is created by symli... (solves #10205)
  • Implement a --no-distribution option in wsl --install
WSL - 1.3.11

Published by OneBlue over 1 year ago

  • Switch back to previous version of lxutil.dll while an issue is being debugged
WSL - 1.3.10

Published by OneBlue over 1 year ago

  • Mount /usr/lib/wsl/lib as rw
  • Set a timeout when force terminating instances
  • Allow created vhdx to have sparse flag set
  • Make /run/user/{user} writable
  • Memory reclamation idle detection, drop_caches. To use add the below to %userprofile%\.wslconfig
[experimental]
autoMemoryReclaim=true
  • Fix COM race condition when service is stopped
  • Install missing optional components if needed in wsl.exe --install
  • Fix potential wslservice crash in .wslconfig parsing
  • Use --numeric-owner when importing and exporting distros so the root namespace /etc/passwd is not used (solves #9982)
  • Update invalid wslconfig key warning to call out which key has the invalid value
  • Change localhost relay creation to be non-fatal (solves #9924)
  • Fix behavior of guiApplications=false in .wslconfig
  • Fix intermittent localhost forwarding issues (Solves #9921)
  • Use /mnt/wslg for /run/user (solves #9913)
  • Update Microsoft.WSL.Kernel to version 5.15.90.2-3
    • This new kernel includes a SCSI fix that allows WSL to boot faster
  • Update Microsoft.WSLg to version 1.0.54
  • Update MSRDC to 1.2.4240
  • Update Microsoft.DXCore.Linux to version 10.0.25880.1000-230602-1350.main
WSL - 1.2.5

Published by OneBlue over 1 year ago

  • Resolve issue where creating notifications could cause launch failures.
WSL - 1.2.4

Published by OneBlue over 1 year ago

  • Use --numeric-owner tar option when importing and exporting distros so the root namespace /etc/passwd is not used (solves #9982)
WSL - 1.2.3

Published by OneBlue over 1 year ago

  • Mount cgroup v1 for WSL2 to resolve issues with certain versions of docker (solves #9962)
WSL - 1.2.2

Published by OneBlue over 1 year ago

  • WSLg: Revert change to use overlayfs for /run/user/ while a more complete fix is investigated
WSL - 1.2.1

Published by OneBlue over 1 year ago

  • Fix intermittent localhost forwarding issues (solves #9921)
  • Use /mnt/wslg for /run/user (solves #9913)
  • Fix invalid handle close on wslservice.exe exit
WSL - 1.2.0

Published by OneBlue over 1 year ago

  • Revert to the 5.15.90.1 version of the kernel while we debug a few issues.
WSL - 1.1.7

Published by OneBlue over 1 year ago

  • Fix race condition in wslhost's com server logic to prevent a crash
  • Remove cgroup_no_v1=all from kernel command line (solves #9868)
  • Remove unused WSL_E_PACKAGE_UPGRADE_AVAILABLE error message (solves #9866)
  • Give an actionable error message if an error occurs in reading reg keys (solves #9834)
  • Redesign the way that page reporting is configured, will result on lower vmmemWSL usage on newer versions of Windows
    • Removes wsl2.pageReportingOrder option from %userprofile%\.wslconfig
  • Re-register package if com class creation fails when talking to wslservice (solves #9064)
  • Remove bond, dummy, fb_tunnel adapters via kernel command line (solves #7791)
  • Bind mount /run/user to //wsl/user before the namespaces fork
  • Make /run/user/ an overlayfs so each user can write its folder
  • Wait for systemd to be started before forking the mount namespaces
  • Update Microsoft.WSL.Kernel to 6.1.21.1-1
    • Update to stable kernel version v6.1.21
    • Out-of-tree vpci patches now included from upstream
    • Out-of-tree vsock patches now included from upstream
    • Enable anonymous VMA name support (ANON_VMA_NAME)
    • Enable use nosuid,noexec mount options on devtmpfs (DEVTMPFS_SAFE)
    • Enable register zeroing on function exit (ZERO_CALL_USED_REGS)
    • Enable check for invalid mappings in user page tables (PAGE_TABLE_CHECK)
    • Enable Kernel Function Probe (FPROBE)
  • Update Microsoft.WSLg to version 1.0.51
    • rdpapplist/rdp plugin: support pin WSLg app icon to taskbar (require msrdc update)
    • rdp backend: handle the case nothing to send for window zorder to client
    • rdp backend: use rdp_dispatch_task_to_display_loop for dispatching failure response to display loop
    • rdp shell: fix overactive assert at launch_desktop_shell_process
    • rdp shell/rdp backend: support pin WSLg app icon to taskbar (requires msrdc update)