From 2a35efbb3dcacd950feb102a9be571154e3d53f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Sun, 5 Jul 2026 15:20:30 +0200 Subject: [PATCH] Remove disabling starting updatevm under some conditions When qubes-dom0-update was run with --check-only, it never started updatevm if it wasn't running. This causes problems with gui updater, but also doesn't seem to be very logical. Removed the check. fixes QubesOS/qubes-issues#10006 --- dom0-updates/qubes-dom0-update | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 5b7d177d..ed9610aa 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -245,12 +245,6 @@ if [ "$GUI" == "1" ]; then fi fi -# Do not start VM automatically when running from cron (only checking for updates) -if [ "$CHECK_ONLY" == "1" ] && ! qvm-check -q --running "$UPDATEVM" > /dev/null 2>&1; then - echo "ERROR: UpdateVM not running, not starting it in non-interactive mode" >&2 - exit 1 -fi - if [ -n "$CLEAN" ]; then rm -f /var/lib/qubes/updates/rpm/* rm -f /var/lib/qubes/updates/repodata/*