Activity log for bug #1921870

Date Who What changed Old value New value Message
2021-03-30 08:49:24 bugproxy bug added bug
2021-03-30 08:49:27 bugproxy tags architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110
2021-03-30 08:49:28 bugproxy attachment added Patch to fix the issue https://bugs.launchpad.net/bugs/1921870/+attachment/5482319/+files/tools-kvm_stat-Add_restart-delay.patch
2021-03-30 08:49:30 bugproxy ubuntu: assignee Skipper Bug Screeners (skipper-screen-team)
2021-03-30 08:49:33 bugproxy affects ubuntu linux (Ubuntu)
2021-03-30 14:04:33 Frank Heimes bug task added ubuntu-z-systems
2021-04-01 08:39:41 Frank Heimes ubuntu-z-systems: assignee Skipper Bug Screeners (skipper-screen-team)
2021-04-01 08:39:59 Frank Heimes linux (Ubuntu): assignee Skipper Bug Screeners (skipper-screen-team) Canonical Kernel Team (canonical-kernel-team)
2021-04-01 08:40:10 Frank Heimes ubuntu-z-systems: importance Undecided Medium
2021-04-01 08:40:16 Frank Heimes ubuntu-z-systems: status New Triaged
2021-04-27 16:57:52 Frank Heimes nominated for series Ubuntu Impish
2021-04-27 16:57:52 Frank Heimes bug task added linux (Ubuntu Impish)
2021-04-27 16:57:52 Frank Heimes nominated for series Ubuntu Hirsute
2021-04-27 16:57:52 Frank Heimes bug task added linux (Ubuntu Hirsute)
2021-04-27 16:58:11 Frank Heimes linux (Ubuntu Hirsute): assignee Canonical Kernel Team (canonical-kernel-team)
2021-04-27 16:58:17 Frank Heimes linux (Ubuntu Hirsute): importance Undecided Medium
2021-04-27 16:58:21 Frank Heimes linux (Ubuntu Impish): importance Undecided Medium
2021-04-27 16:58:44 Frank Heimes bug added subscriber Terry Rudd
2021-05-31 15:06:56 Krzysztof Kozlowski ubuntu-z-systems: status Triaged In Progress
2021-05-31 16:00:52 Frank Heimes linux (Ubuntu Impish): status New In Progress
2021-06-07 08:29:51 Krzysztof Kozlowski ubuntu-z-systems: status In Progress Fix Committed
2021-06-07 08:30:04 Krzysztof Kozlowski linux (Ubuntu Impish): status In Progress Fix Committed
2021-06-10 08:35:24 Stefan Bader linux (Ubuntu Hirsute): status New Fix Committed
2021-06-10 08:36:34 Stefan Bader description Description: tools/kvm_stat: Add restart delay Symptom: 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. However, once the kvm module is loaded, the service is _not_ started. Problem: Since the unit file does 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. Solution: Add an appropriate delay in the unit file. Reproduction: (1) Enable the kvm service via systemctl (2) Reboot (3) Verify that the kvm module is not loaded & kvm service not running (4) Load the kvm module via 'modprobe kvm' (5) Verify that the kvm service came up within the next minute. Preventive: yes Just use the attached patch and you're good! SRU Justification: [Impact] * Nice to have feature requested by IBM - a systemd service monitoring KVM guests. * Adds a new systemd service, not enabled by default. [Fix] * Install the systemd .service file when installing linux-tools-host [Test Plan] * dpkg -c linux-tools-host_5.11.0-18.19_all.deb ./lib/systemd/system/kvm_stat.service * Install the package and reboot * Check if kvm_stat is present and not active after reboot: ls -l /lib/systemd/system/kvm_stat.service systemctl -a | grep kvm_stat [Where problems could occur] * Service can be enabled and started by mistake or by any further future Makefile change (enabling all services installed by linux-tools-host). * The service logs into /var/log/kvm_stat.csv (not journal!) and package does not provide logrotate by default, thus the logging could eat entire disk space. -- Original Description -- Description: tools/kvm_stat: Add restart delay Symptom: 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. However, once the                kvm module is loaded, the service is _not_ started. Problem: Since the unit file does 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. Solution: Add an appropriate delay in the unit file. Reproduction: (1) Enable the kvm service via systemctl                (2) Reboot                (3) Verify that the kvm module is not loaded & kvm service                    not running                (4) Load the kvm module via 'modprobe kvm'                (5) Verify that the kvm service came up within the next                    minute. Preventive: yes Just use the attached patch and you're good!
2021-06-22 12:20:09 Ubuntu Kernel Bot tags architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-needed-focal
2021-06-23 07:57:19 Ubuntu Kernel Bot tags architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-needed-focal architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-needed-focal verification-needed-hirsute
2021-06-24 13:50:03 bugproxy tags architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-needed-focal verification-needed-hirsute architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-done-hirsute verification-needed-focal
2021-06-24 14:05:39 Frank Heimes tags architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-done-hirsute verification-needed-focal architecture-s39064 bugnameltc-192257 severity-high targetmilestone-inin2110 verification-done-focal verification-done-hirsute
2021-07-20 16:18:41 Launchpad Janitor linux (Ubuntu Hirsute): status Fix Committed Fix Released
2021-07-20 16:18:41 Launchpad Janitor cve linked 2021-33909
2021-08-18 23:09:18 Launchpad Janitor linux (Ubuntu Impish): status Fix Committed Fix Released
2021-08-19 06:05:13 Frank Heimes ubuntu-z-systems: status Fix Committed Fix Released