Did you notice any other issues that occur when testing the test kernel
posted in comment #12.  The second issue posted in the bug is resolved
by changing the definition of KVP_CONFIG_LOC in hv_kvp_daemon.c:

 tools/hv/hv_kvp_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c
index 4c99c57..e969057 100644
--- a/tools/hv/hv_kvp_daemon.c
+++ b/tools/hv/hv_kvp_daemon.c
@@ -95,7 +95,7 @@ static struct utsname uts_buf;
 #define KVP_CONFIG_LOC "/var/lib/hyperv"

-#define KVP_SCRIPTS_PATH "/usr/libexec/hypervkvpd/"
+#define KVP_SCRIPTS_PATH "/usr/sbin/"

 #define KVP_NET_DIR "/sys/class/net/"

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  [Hyper-V] KVP daemon fails to start

Status in linux package in Ubuntu:
  In Progress
Status in linux-azure package in Ubuntu:
Status in linux source package in Bionic:
  In Progress
Status in linux-azure source package in Bionic:

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:

  2. After the KVP daemon is being started the following messages

  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:

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

Reply via email to