This bug was fixed in the package linux - 5.13.0-14.14

---------------
linux (5.13.0-14.14) impish; urgency=medium

  * impish/linux: 5.13.0-14.14 -proposed tracker (LP: #1938565)

  * Miscellaneous Ubuntu changes
    - SAUCE: Revert "UBUNTU: SAUCE: random: Make getrandom() ready earlier"
    - SAUCE: random: properly make getrandom() ready earlier

  * Miscellaneous upstream changes
    - seq_buf: Fix overflow in seq_buf_putmem_hex()
    - bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
    - ext4: cleanup in-core orphan list if ext4_truncate() failed to get a
      transaction handle
    - ext4: fix kernel infoleak via ext4_extent_header
    - ext4: fix overflow in ext4_iomap_alloc()
    - ext4: return error code when ext4_fill_flex_info() fails
    - ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    - ext4: remove check for zero nr_to_scan in ext4_es_scan()
    - ext4: fix avefreec in find_group_orlov
    - ext4: use ext4_grp_locked_error in mb_find_extent

 -- Andrea Righi <andrea.ri...@canonical.com>  Mon, 02 Aug 2021 14:23:08
+0200

** Changed in: linux (Ubuntu Impish)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Hirsute:
  Fix Released
Status in linux source package in Impish:
  Fix Released

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

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