[SRU][H][PATCH 0/1] install kvm_stat systemd service

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Wed Jun 2 16:07:58 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1921870

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.

Best regards,
Krzysztof

Krzysztof Kozlowski (1):
  UBUNTU: [Debian] install kvm_stat systemd service

 debian/rules.d/3-binary-indep.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.27.0




More information about the kernel-team mailing list