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

Stefan Bader stefan.bader at canonical.com
Mon Jun 26 09:41:20 UTC 2023


On 23.06.23 15:43, 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.
> 
> 
> 

It is a bit confusing to see this submitted for the primary kernels 
while it sounds like this is something for the azure cloud kernels. 
Maybe some explanation would help here. I guess this goes back to times 
when there were no specific cloud kernels.

-- 
- Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230626/160daf03/attachment-0001.key>
-------------- 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/20230626/160daf03/attachment-0001.sig>


More information about the kernel-team mailing list