Could this be a race condition with the device file creation and start of the hv-kvp-daemon.service?
[from /var/log/syslog] Jan 16 10:26:45 kvp-disco-test systemd[1]: Started Hyper-V KVP Protocol Daemon. ... Jan 16 10:26:45 kvp-disco-test KVP: KVP starting; pid is:213 Jan 16 10:26:45 kvp-disco-test KVP: open /dev/vmbus/hv_kvp failed; error: 2 No such file or directory Jan 16 10:26:45 kvp-disco-test systemd[1]: hv-kvp-daemon.service: Main process exited, code=exited, status=1/FAILURE $ stat /dev/vmbus/hv_kvp File: /dev/vmbus/hv_kvp Size: 0 Blocks: 0 IO Block: 4096 character special file Device: 6h/6d Inode: 212 Links: 1 Device type: a,37 Access: (0600/crw-------) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2019-01-16 10:26:56.868312550 +0000 Modify: 2019-01-16 10:26:56.868312550 +0000 Change: 2019-01-16 10:26:56.868312550 +0000 I realize this isn't the creation time (which I can't figure out if I can even get), but it's suspiciuos. Also, manually starting the service once logged in works and it stays running. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1779640 Title: [Hyper-V] KVP daemon crashes at startup Status in linux package in Ubuntu: In Progress Status in linux source package in Bionic: In Progress Bug description: While testing Bionic daily build with kernel 4.15.0-20-generic we saw the following issue with the KVP daemon: KVP daemon crashes after approximatively 2 minutes of uptime and it enters in a failed state. The daemon can be manually started and it enters back in active (running) state. The error messages from /var/log/syslog after the daemon enters the failed state are the following: Apr 25 04:28:46 bionicDaily KVP: read failed; error:9 Bad file descriptor Apr 25 04:28:46 bionicDaily systemd[1]: hv-kvp-daemon.service: Main process exited, code=exited, status=1/FAILURE Apr 25 04:28:46 bionicDaily systemd[1]: hv-kvp-daemon.service: Failed with result 'exit-code'. Apr 25 04:28:59 bionicDaily systemd[1]: Started Hyper-V KVP Protocol Daemon. Note: There was a simmilar issue discussed on this thread https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664663, but the fixing commit seems to be inclued in this Bionic build. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779640/+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