microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.26k stars 812 forks source link

WSL2 shut down without warning while I was using it, because Windows Store began to update it #8169

Open astroboylrx opened 2 years ago

astroboylrx commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I'm frustrated when WSL2 shut down itself without any warning while I'm still using it. And that's because Windows Store began to update it.

Describe the solution you'd like A clear and concise description of what you want to happen.

A warning of shutting down before updating it would be greatly appreciated (something like Office update, asking users save their work). I feel like WSL2, as a subsystem, should be treated more as a "system" instead of an app.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

It is convenient for the Store to auto-update some apps that are not running. However, for things that are running, especially WSL2, why does the Store has such a high priority of doing what it wants?

Additional context Add any other context or screenshots about the feature request here.

benhillis commented 2 years ago

Agreed - we've given this feedback to the store team and they've said it's something they ware working on. Thanks for the suggestion, will leave this open for tracking.

Juan012345 commented 2 years ago

Store WSL

dev0T commented 1 year ago

This just happened with me. I use WSL as a working environment and had it close without any warning.

astroboylrx commented 7 months ago

This happened to me again today on a new machine where I forgot to turn off auto updates. I treat WSL as a working environment, not a toy... sigh

WSL version: 2.1.3.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22635.3140
dev0T commented 3 months ago

I decided to move on from WSL and Windows entirely. This issue was the last straw. I had my workflow interrupted way more than I wanted because it would just shutdown without a warning. Running Linux as my main OS is way more reliable at this moment.

astroboylrx commented 2 months ago

Today it happened again. Microsoft Store updated WSL without my consent. And I already turned off auto updates in Store!

slonopotamus commented 2 months ago

Obviously, you didn't.

astroboylrx commented 2 months ago

Obviously, you didn't.

How condescending. The only thing exposed to users is the toggle in Store's settings. I'd be glad to hear more if you know other measures.