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

Stefan Bader stefan.bader at canonical.com
Thu Jun 10 08:38:51 UTC 2021


On 02.06.21 18:07, Krzysztof Kozlowski wrote:
> 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.

Applied to hirsute:linux/master-next with slight modification of the commit 
message. I replaced [Debian] with [Packaging] since I believe that is more in 
line with other things. I also added the SRU justification to the bug report. 
Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210610/f96fc3b1/attachment.sig>


More information about the kernel-team mailing list