APPLIED: [PATCH][B/F/G/H/I/unstable linux] UBUNTU: [Packaging]: Add kernel command line condition to hv-kvp-daemon service

Stefan Bader stefan.bader at canonical.com
Fri Jun 18 09:50:08 UTC 2021


On 16.06.21 00:42, Dimitri John Ledkov wrote:
> linux-cloud-tools-common ships a service for hyper-v hypervisor. It is
> known to be prohibited on certain instance types. Add a kernel command
> line condition to skip starting this service there.
> 
> BugLink: https://bugs.launchpad.net/bugs/1932081
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> cc: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
> ---
Applied to hirsute:linux. Thanks.

-Stefan

>   This patch needs to go into bionic:linux focal:linux groovy:linux
>   hirsute:linux impish:linux and unstable.
> 
>   focal:linux is desired first.
> 
>   debian/linux-cloud-tools-common.hv-kvp-daemon.service | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/debian/linux-cloud-tools-common.hv-kvp-daemon.service b/debian/linux-cloud-tools-common.hv-kvp-daemon.service
> index 571440344cb5..9f65063bfb1b 100644
> --- a/debian/linux-cloud-tools-common.hv-kvp-daemon.service
> +++ b/debian/linux-cloud-tools-common.hv-kvp-daemon.service
> @@ -4,6 +4,7 @@
>   [Unit]
>   Description=Hyper-V KVP Protocol Daemon
>   ConditionVirtualization=microsoft
> +ConditionKernelCommandLine=!snapd_recovery_mode
>   DefaultDependencies=no
>   BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
>   After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device systemd-remount-fs.service
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210618/c88ee83b/attachment.sig>


More information about the kernel-team mailing list