• Bug#919350: hyperv-daemons: hv_get_dhcp_info, hv_get_dns_info not found

    From Salvatore Bonaccorso@21:1/5 to Adam Baxter on Sat Mar 22 14:20:01 2025
    XPost: linux.debian.kernel

    Hi,

    On Sun, May 28, 2023 at 08:21:29PM +1000, Adam Baxter wrote:
    On Tue, 29 Mar 2022 13:51:02 +0000 Christian Loos <christian.loos@gebit.de> wrote:
    I still see this problem in all currently supported Debian versions (9-11).

    And still in 12, but doesn't seem to end up in syslog/journalctl

    You can see the errors if you stop the service and run sudo /usr/sbin/hv_kvp_daemon -n

    sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dns_info: not found
    sh: 1: /usr/libexec/hypervkvpd/hv_get_dhcp_info: not found

    However, Hyper-V still sees the guest IP address information while
    the daemon is running so I'm not sure what the actual impact of this
    is.

    Package: hyperv-daemons
    Version: 6.1.27-1

    Yes correct they are not installed in our package. In fact upstream
    ships them as example and I think expects that everyone implements in
    the respective distro specfic fashion. The example scripts contain,
    e.g.:

    # Each Distro is expected to implement this script in a distro specific
    # fashion. For instance, on Distros that ship with Network Manager enabled,
    # this script can be based on the Network Manager APIs for configuring the
    # interface.

    Ben, Bastian, Uwe, I wonder if we really should do here something or
    accept the warnings from the missing installed scripts as stuff still
    seems to work by users.

    Opinions?

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)