From c88036a4a8a181f0f74329c3f658dfdeab9f52be Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Tue, 10 Jun 2025 13:14:44 +0000 Subject: [PATCH] qvm-template: don't persist lock file across system reboots https://forum.qubes-os.org/t/problem-with-installing-a-new-fedora-41-template/34221 --- qubesadmin/tools/qvm_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesadmin/tools/qvm_template.py b/qubesadmin/tools/qvm_template.py index 7c87e0d3..8a0c824a 100644 --- a/qubesadmin/tools/qvm_template.py +++ b/qubesadmin/tools/qvm_template.py @@ -57,7 +57,7 @@ PACKAGE_NAME_PREFIX = 'qubes-template-' CACHE_DIR = os.path.join(xdg.BaseDirectory.xdg_cache_home, 'qvm-template') UNVERIFIED_SUFFIX = '.unverified' -LOCK_FILE = '/var/tmp/qvm-template.lck' +LOCK_FILE = '/run/qubes/qvm-template.lock' DATE_FMT = '%Y-%m-%d %H:%M:%S' TAR_HEADER_BYTES = 512 WRAPPER_PAYLOAD_BEGIN = "###!Q!BEGIN-QUBES-WRAPPER!Q!###"