ACK: [PATCH 0/1][focal/jammy/kinetic/lunar linux] Disable hv-kvp-daemon if /dev/vmbus/hv_kvp is not present

Andrei Gherzan andrei.gherzan at canonical.com
Mon Jun 26 11:47:27 UTC 2023


On 23/06/23 07:43AM, Tim Gardner wrote:
> BugLink: https://bugs.launchpad.net/bugs/2024900
> 
> SRU Justification
> 
> [Impact]
> 
> If the hv-kvp daemon is started and the vmbus is not present it will just exit with an error:
> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/mantic/tree/tools/hv/hv_kvp_daemon.c#n1424
> 
> Thus, it would make sense to add "ConditionPathExists=/dev/vmbus/hv_kvp" in
> linux-cloud-tools-common.hv-kvp-daemon.service to prevent systemd from starting
> the daemon if the device is not there.
> 
> [Test Plan]
> 
> Start an Azure cloud instance and check for /dev/vmbus/hv_kvp and that hv-kvp-daemon is running.
> Start a non-Azure cloud instance and check that hv-kvp-daemon is not running.
> 
> [Regression potential]
> 
> Its possible that kv-hvp-daemon is not started when it should be.

Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230626/d8b54643/attachment.sig>


More information about the kernel-team mailing list