From aa798bf943eae0e71fb4b6ea154e2af2103d9986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 12 Mar 2019 00:59:59 +0100 Subject: [PATCH] app: add missing load_stage=3 to global properties Global properties should be loaded in stage 3, mark them as such. Otherwise they are not loaded at all. This applies to stats_interval and check_updates_vm. Others were correct. Fixes QubesOS/qubes-issues#4856 --- qubes/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/app.py b/qubes/app.py index e51ef133..27ae3e09 100644 --- a/qubes/app.py +++ b/qubes/app.py @@ -770,6 +770,7 @@ class Qubes(qubes.PropertyHolder): doc='''Default time in seconds for VM shutdown to complete''') stats_interval = qubes.property('stats_interval', + load_stage=3, default=3, type=int, doc='Interval in seconds for VM stats reporting (memory, CPU usage)') @@ -777,6 +778,7 @@ class Qubes(qubes.PropertyHolder): # TODO #1637 #892 check_updates_vm = qubes.property('check_updates_vm', type=bool, setter=qubes.property.bool, + load_stage=3, default=True, doc='check for updates inside qubes')