QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
529 stars 46 forks source link

Warn about or refrain from automatic sys-usb restart after update when USB devices are connected #9228

Open kaie opened 2 months ago

kaie commented 2 months ago

How to file a helpful issue

Qubes OS release

latest

Brief summary

sys-net/usb automatically restarting after updates detaches disks from VMs and causes trouble for ongoing disk operations.

Steps to reproduce

I'm using sys-net for both network and USB. I had an USB disk attached to a VM/Qube, and there was a copy operation running inside. I started Qubes updates from the notification menu. When the updates were done, I clicked next. Qubes OS automatically restarted sys-net. That caused the USB disk to get detached from the VM. VM still thought it had the USB disk connected, but couldn't umount it. Shutting down the VM got stuck, had to kill.

Expected behavior

sys-net/usb should NOT automatically restart if there are any connected USB disks (or other USB devices) to any running VMs.

Actual behavior

sys-net/usb restarts after update and causes ongoing disk operations on attached USB disks to fail

kaie commented 2 months ago

When in doubt, I'd prefer no automatic restarts at all.

andrewdavidwong commented 2 months ago

When in doubt, I'd prefer no automatic restarts at all.

You can turn this off: Gear icon > "Automatic restart after update" > uncheck boxes

kaie commented 2 months ago

You can turn this off: Gear icon > "Automatic restart after update" > uncheck boxes

Thank you