/usr/sbin/hv_kvp_daemon is in hv-kvp-daemon-init 0.3ubuntu4~12.04.0.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
full_version=$(uname -r)
# Removing flavour from version i.e. generic or server.
flavour_abi=${full_version#*-}
flavour=${flavour_abi#*-}
version=${full_version%-$flavour}
# Prefer flavour-versioned hv_kvp_daemon, if it exists:
if [ -x /usr/sbin/hv_kvp_daemon_${full_version} ]; then
exec /usr/sbin/hv_kvp_daemon_${full_version} "$@"
elif [ -x /usr/sbin/hv_kvp_daemon_${version} ]; then
# Pre-3.7 linux-tools ships a broken hv_kvp_daemon, require lbm:
if dpkg --compare-versions ${version} lt 3.7.0 2>/dev/null; then
echo "You are running a pre-3.7 kernel but don't have" >&2
echo "linux-backports-modules-hv installed for your" >&2
echo "flavour, not executing hv_kvp_daemon_${version}" >&2
exit 2
fi
exec /usr/sbin/hv_kvp_daemon_${version} "$@"
else
echo "/usr/sbin/hv_kvp_daemon_${version} not found" >&2
echo "You may need to install linux-tools-${version}" >&2
exit 2
fi
|