------- Comment From stefan.ra...@de.ibm.com 2021-03-30 10:59 EDT-------
OK, would that be a consideration? The idea is to have a service that logs kvm 
events in a round-robin manner. To do so, 2 things need to happen:
(1) install the unit file kvm_stat.service
(2) install a respective logrotate file in /etc/logrotate.d, so we can wrap 
around - see git commit 3754afe7cf7cc3693a9c9ff795e9bd97175ca639 for further 
information

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1921870

Title:
  [UBUNTU 21.04] tools/kvm_stat: Add restart delay

Status in Ubuntu on IBM z Systems:
  New
Status in linux package in Ubuntu:
  New

Bug 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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1921870/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to