Comment 16 for bug 1766857

Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: [Hyper-V] KVP daemon fails to start

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"

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

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