[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-08-19 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   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 Released
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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-08-18 Thread Launchpad Bug Tracker
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   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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-07-20 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.11.0-25.27

---
linux (5.11.0-25.27) hirsute; urgency=medium

  * CVE-2021-33909
- SAUCE: seq_file: Disallow extremely large seq buffer allocations

linux (5.11.0-24.25) hirsute; urgency=medium

  * test_pmtu_vti4_link_add_mtu() test from net/pmtu.sh in
ubuntu_kernel_selftests cannot finish properly on 5.11 and 5.8
(LP: #1933969)
- ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
- sit: proper dev_{hold|put} in ndo_[un]init methods
- ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
- ipv6: remove extra dev_hold() for fallback tunnels

linux (5.11.0-23.24) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-23.24 -proposed tracker (LP: #1932420)

  * Packaging resync (LP: #1786013)
- [Packaging] resync getabis
- [Packaging] update helper scripts
- update dkms package versions

  * Disable hv-kvp-daemon.service on certain instance types (LP: #1932081)
- [Packaging]: Add kernel command line condition to hv-kvp-daemon service

  * Add support for IO functions of AAEON devices (LP: #1929504)
- ODM: mfd: Add support for IO functions of AAEON devices
- ODM: gpio: add driver for AAEON devices
- ODM: watchdog: add driver for AAEON devices
- ODM: hwmon: add driver for AAEON devices
- ODM: leds: add driver for AAEON devices
- ODM: [Config] update config for AAEON devices

  * Add support for selective build of special drivers (LP: #1912789)
- [Packaging] Add support for ODM drivers
- [Packaging] Turn on ODM support for amd64
- [Packaging] Fix ODM support in actual build
- [Packaging] Fix ODM DRIVERS Kconfig

  * Mute/Mic mute LEDs and right speaker are not work on HP platforms
(LP: #1932055)
- ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite 
Dragonfly
  G2
- ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360
  1040 G8
- ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
- ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8

  * SD card initialization on insertion fails (LP: #1929444)
- misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG

  * Fix non-working GPU on Some HP desktops (LP: #1931147)
- PCI: Coalesce host bridge contiguous apertures

  * CirrusLogic: The default input volume is "0%" on Dell Warlock (LP: #1929803)
- ALSA: hda/cirrus: Set Initial DMIC volume to -26 dB

  * Mic-mute/mute LEDs not work on some HP platforms (LP: #1930707)
- ALSA: hda/realtek: fix mute/micmute LEDs for HP 855 G8
- ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook G8
- ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 15 
G8
- ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 17 
G8

  * [UBUNTU 21.04] tools/kvm_stat: Add restart delay (LP: #1921870)
- [Packaging] install kvm_stat systemd service

  * Fix ICL PCH no picture after S3 (LP: #1930582)
- drm/i915/icp+: Use icp_hpd_irq_setup() instead of spt_hpd_irq_setup()

  * Hirsute update: v5.11.22 upstream stable release (LP: #1931292)
- KEYS: trusted: Fix memory leak on object td
- tpm: fix error return code in tpm2_get_cc_attrs_tbl()
- tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
- tpm, tpm_tis: Reserve locality in tpm_tis_resume()
- KVM: SVM: Make sure GHCB is mapped before updating
- KVM: x86/mmu: Remove the defunct update_pte() paging hook
- KVM/VMX: Invoke NMI non-IST entry instead of IST entry
- ACPI: PM: Add ACPI ID of Alder Lake Fan
- PM: runtime: Fix unpaired parent child_count for force_resume
- cpufreq: intel_pstate: Use HWP if enabled by platform firmware
- kvm: Cap halt polling at kvm->max_halt_poll_ns
- ath11k: fix thermal temperature read
- ALSA: usb-audio: Add Pioneer DJM-850 to quirks-table
- fs: dlm: fix debugfs dump
- fs: dlm: fix mark setting deadlock
- fs: dlm: add errno handling to check callback
- fs: dlm: add check if dlm is currently running
- fs: dlm: change allocation limits
- fs: dlm: check on minimum msglen size
- fs: dlm: flush swork on shutdown
- fs: dlm: add shutdown hook
- tipc: convert dest node's address to network order
- ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
- net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
- net: stmmac: Set FIFO sizes for ipq806x
- ASoC: rsnd: core: Check convert rate in rsnd_hw_params
- Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
- i2c: bail out early when RDWR parameters are wrong
- ALSA: hdsp: don't disable if not enabled
- ALSA: hdspm: don't disable if not enabled
- ALSA: rme9652: don't disable if not enabled
- ALSA: bebob: enable to deliver MIDI messages for multiple ports
- Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
- 

[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-24 Thread Frank Heimes
Thx Stefan for the verification.
(I don't know why there is a verification-needed-focal tag on top, since this 
bug is not marked as affecting focal at all ?! To avoid any blockers, I'm 
changing it to done, too.)

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-24 Thread bugproxy
--- Comment From stefan.ra...@de.ibm.com 2021-06-24 09:44 EDT---
Verified on hirsute-proposed.

** Tags removed: verification-needed-hirsute
** Tags added: verification-done-hirsute

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

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-23 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
hirsute' to 'verification-done-hirsute'. If the problem still exists,
change the tag 'verification-needed-hirsute' to 'verification-failed-
hirsute'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-hirsute

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

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-22 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
focal' to 'verification-done-focal'. If the problem still exists, change
the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

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

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-10 Thread Stefan Bader
** Changed in: linux (Ubuntu Hirsute)
   Status: New => Fix Committed

** Description changed:

+ 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.
+    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.
+    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.
+    (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!

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

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 

[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-06-07 Thread Krzysztof Kozlowski
** Changed in: ubuntu-z-systems
   Status: In Progress => Fix Committed

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

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

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-05-31 Thread Frank Heimes
** Changed in: linux (Ubuntu Impish)
   Status: New => In Progress

-- 
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:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Hirsute:
  New
Status in linux source package in Impish:
  In Progress

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-05-31 Thread Krzysztof Kozlowski
Patch submitted for review:
https://lists.ubuntu.com/archives/kernel-team/2021-May/120907.html

-- 
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:
  In Progress
Status in linux package in Ubuntu:
  New
Status in linux source package in Hirsute:
  New
Status in linux source package in Impish:
  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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-05-31 Thread Krzysztof Kozlowski
** Changed in: ubuntu-z-systems
   Status: Triaged => In Progress

-- 
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:
  In Progress
Status in linux package in Ubuntu:
  New
Status in linux source package in Hirsute:
  New
Status in linux source package in Impish:
  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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-04-27 Thread Frank Heimes
** Also affects: linux (Ubuntu Impish)
   Importance: Undecided
 Assignee: Canonical Kernel Team (canonical-kernel-team)
   Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Hirsute)
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

** Changed in: linux (Ubuntu Hirsute)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Impish)
   Importance: Undecided => Medium

-- 
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:
  Triaged
Status in linux package in Ubuntu:
  New
Status in linux source package in Hirsute:
  New
Status in linux source package in Impish:
  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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-04-21 Thread Frank Heimes
Since kvm_stat is part of the Ubuntu package linux-tools and packages are 
affected by the feature freeze, this cannot be processed right now, since we 
are at the end of the 21.04 cycle, and we have to wait until 21.04 is released.
Once 21.04 is out this can be picked up again and a service release update 
(SRU) process can be started.

-- 
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:
  Triaged
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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-04-01 Thread Frank Heimes
Hi Stefan, ok we'll have a look how we can get in best.
Not sure though if it can be done until 21.04 GA, maybe as SRU a bit later ...

** Changed in: ubuntu-z-systems
 Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Changed in: linux (Ubuntu)
 Assignee: Skipper Bug Screeners (skipper-screen-team) => Canonical Kernel 
Team (canonical-kernel-team)

** Changed in: ubuntu-z-systems
   Importance: Undecided => Medium

** Changed in: ubuntu-z-systems
   Status: New => Triaged

-- 
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:
  Triaged
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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-03-31 Thread Frank Heimes
I think one reason might have been that a dependency between this package and 
systemd wanted to be avoided.
And was the service part of kvm_stats from the very beginning (I don't 
remember) ...

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-03-30 Thread Frank Heimes
Hi Stefan, no we don't ship the service file (at least not with 20.04 to 21.04):
$ dpkg -L linux-tools-host
/.
/usr
/usr/bin
/usr/bin/kvm_stat
/usr/share
/usr/share/doc
/usr/share/doc/linux-tools-host
/usr/share/doc/linux-tools-host/changelog.Debian.gz
/usr/share/doc/linux-tools-host/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/kvm_stat.1.gz

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-03-30 Thread Frank Heimes
** Also affects: ubuntu-z-systems
   Importance: Undecided
   Status: New

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


[Kernel-packages] [Bug 1921870] Re: [UBUNTU 21.04] tools/kvm_stat: Add restart delay

2021-03-30 Thread Frank Heimes
Since Ubuntu has KVM built-in (rather than being compiled as module)
this should not be needed for Ubuntu.

$ lsb_release -r
Release:21.04
$ arch
s390x
$ grep -i CONFIG_KVM= /boot/config-5.11.0-13-generic 
CONFIG_KVM=y
$ lsmod | grep -i kvm
$ kvm-ok 
INFO: /dev/kvm exists
KVM acceleration can be used

$ lsb_release -r
Release:20.04
$ arch
s390x
$ grep -i CONFIG_KVM= /boot/config-5.4.0-70-generic 
CONFIG_KVM=y
$ lsmod | grep -i kvm
$ kvm-ok 
INFO: /dev/kvm exists
KVM acceleration can be used

-- 
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 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/+source/linux/+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