Comment 27 for bug 1766857

Revision history for this message
Murph (murph9000) wrote (last edit ): Re: [Hyper-V] KVP daemon fails to start

With some more digging, I believe I've found the root of the bug.

https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/tree/debian/rules.d/3-binary-indep.mk

(see also 2-binary-arch.mk for the hv_* daemon binaries, and how they get into their installed location)

That makefile is installing the scripts into $(cloudsbin), which looks like it defaults to /usr/sbin, contrary to the path embedded in the hv_kvp_daemon binary and the corresponding Makefile over in jammy/tools/hv.

I think hv_* should live in /usr/libexec/hypervkvpd, and only lsvmbus should live in /usr/sbin (as it has some diagnostic utility). I think rules.d/* needs to changed to eliminate the path mismatch involved in this bug. If consensus says these things should live in /usr/sbin, then I'm ok with that too (and the path embedded in the hv_kvp_daemon binary needs to be changed).