Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2021-07-24 20:39:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kvm_stat" Sat Jul 24 20:39:08 2021 rev:18 rq:908083 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes 2021-01-30 13:57:48.726401580 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.1899/kvm_stat.changes 2021-07-24 20:39:19.284403872 +0200 @@ -1,0 +2,10 @@ +Wed Jul 7 09:27:37 UTC 2021 - Al Cho <a...@suse.com> + +- If the kvm service is enabled and the system rebooted, + Systemd's initial attempt to start the kvm unit file may + fail in case the kvm module is not loaded. + Add an appropriate delay in the unit file. (bsc#1185945) + * Add patches: + * add-restart-delay.patch + +------------------------------------------------------------------- New: ---- add-restart-delay.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kvm_stat.spec ++++++ --- /var/tmp/diff_new_pack.fgLnWr/_old 2021-07-24 20:39:19.672403422 +0200 +++ /var/tmp/diff_new_pack.fgLnWr/_new 2021-07-24 20:39:19.672403422 +0200 @@ -46,6 +46,7 @@ Patch05: add-command-line-switch-z-skip-zero-records.patch Patch06: add-command-line-switch-L-to-log-file.patch Patch07: add-sample-systemd-unit.patch +Patch08: add-restart-delay.patch %define XXX This package provides a userspace tool "kvm_stat", which displays KVM vm exit \ information as a means of monitoring vm behavior. The data is taken from the\ @@ -82,6 +83,7 @@ %patch05 -p1 %patch06 -p1 %patch07 -p1 +%patch08 -p1 %endif %build ++++++ add-restart-delay.patch ++++++ From: Stefan Raspl <ra...@linux.ibm.com> Date: Thu, 25 Mar 2021 13:29:49 +0100 Subject: [PATCH] tools/kvm_stat: Add restart delay Patch-mainline: v5.12-rc6 Git-commit: 75f94ecbd0dfd2ac4e671f165f5ae864b7301422 References: bsc#1185945 If this service is enabled and the system rebooted, Systemd's initial attempt to start this unit file may fail in case the kvm module is not loaded. Since we did not specify a delay for the retries, Systemd restarts with a minimum delay a number of times before giving up and disabling the service. Which means a subsequent kvm module load will have kvm running without monitoring. Adding a delay to fix this. Signed-off-by: Stefan Raspl <ra...@linux.ibm.com> Message-Id: <20210325122949.1433271-1-ra...@linux.ibm.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Acked-by: Cho, Yu-Chen <a...@suse.com> --- tools/kvm/kvm_stat/kvm_stat.service | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/kvm/kvm_stat/kvm_stat.service b/tools/kvm/kvm_stat/kvm_stat.service index 71aabaffe779..8f13b843d5b4 100644 --- a/tools/kvm/kvm_stat/kvm_stat.service +++ b/tools/kvm/kvm_stat/kvm_stat.service @@ -9,6 +9,7 @@ Type=simple ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv ExecReload=/bin/kill -HUP $MAINPID Restart=always +RestartSec=60s SyslogIdentifier=kvm_stat SyslogLevel=debug -- 2.31.1