So, I've tried to dig into this a little to figure out why there's a mismatch between hv_kvp_daemon and the installed location of the hv_* scripts, and it looks like it must be somewhere on the packaging side of things rather than the build side. In both of the following Makefiles, the scripts which were throwing errors (hv_get_dhcp_info and hv_get_dns_info) look like they should be correctly installed in /usr/libexec/hypervkvpd. The daemons are still getting put into /usr/sbin by the Makefile, and they might be better living under libexec as well, since they don't really belong in PATH; but it's the location of the scripts which is a noisy bug that breaks some Hyper-V functionality.
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/tree/tools/hv/Makefile https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-azure/+git/jammy/tree/tools/hv/Makefile Something in the packaging phase is erroneously moving those scripts from /usr/libexec/hyperkvpd to /usr/sbin, but I'm not entirely sure just what is doing that, only that it doesn't seem to be on the build side. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1766857 Title: [Hyper-V] KVP daemon fails to start Status in linux package in Ubuntu: Confirmed Status in linux-azure package in Ubuntu: Confirmed Status in linux source package in Bionic: Confirmed Status in linux-azure source package in Bionic: Invalid Status in linux source package in Cosmic: Confirmed Status in linux-azure source package in Cosmic: Invalid Bug description: While testing Bionic daily build with kernel 4.15.0-20-generic we saw that there are 2 issues with the KVP daemon: 1. KVP daemon crash after boot. Opened a different bug for this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779640 2. After the KVP daemon is being started the following messages appear: Apr 25 04:45:25 bionicDaily hv_kvp_daemon[1895]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found Apr 25 04:45:25 bionicDaily hv_kvp_daemon[1895]: sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found The above binaries are present on the system, but the their actual path is /usr/sbin/hv_get_dns_info and /usr/sbin/hv_get_dhcp_info. Either the hv_get_dhcp_info and hv_get_dns_info binaries should be placed in the location where the daemon is looking for (/usr/libexec/hypervkvpd/), or the daemon should be set to search for the binaries in the /usr/sbin directory. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766857/+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