From patchwork Tue Jun 15 22:42:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1492503 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G4NdR1Fp4z9sWD; Wed, 16 Jun 2021 08:43:22 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ltHmA-0000Ds-K6; Tue, 15 Jun 2021 22:43:18 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ltHm9-0000Dm-RH for kernel-team@lists.ubuntu.com; Tue, 15 Jun 2021 22:43:17 +0000 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ltHm9-0001fE-JZ for kernel-team@lists.ubuntu.com; Tue, 15 Jun 2021 22:43:17 +0000 Received: by mail-wr1-f69.google.com with SMTP id q15-20020adfc50f0000b0290111f48b865cso172106wrf.4 for ; Tue, 15 Jun 2021 15:43:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zPg9M0lkOXR02ru2B1kfCaRriUP5o2dLYUN44GLGRfI=; b=NpokbXoNI+3qRYhYrXhHz1z7kuR484a3VOP3i+GUroZKg0X6+uh5Qmgc5EPTXp7M4I e0jchIkOHqmo1CZQM0d9AkKNl1DXNG4etAlNomPuFbtkp7WlGh2FhWsBOazE/JYaaJOX wE/wEKqyKtFYb/YHpGJNpKCBkHesKj0o+1j8XfYhMPry8T0zjC3JM9ICuaeS4qCtlBOA 4rvEZdSFdQ8pjoAx/b9MdgFht3urE2iCZSSpbTETDV4MYJ3n9fvxP3+lG7D16dDtCEgp TqYPEYH7aqJf+FhA0DJ18Ixg9z8fl5v6muu1ZPz4P9p8rjcbXJpd7PeptQv6I42FJQ1I 2tmQ== X-Gm-Message-State: AOAM530GTDH95c/WYnfKj/hZT9aXvIRjkGtY/SNyzpPCXwLmlJ7nyCzP HZbAhsvj8G0ecocOFn+AIkieSp/KYGLon74VuMfah1dTn0TybZ9sL05y+tiCMhdYY6/ItxMJI2d hyXzaTHQTSFcRKs7VPHzHOThwQDv/Itp9x/GhC6GxQg== X-Received: by 2002:a7b:c8d2:: with SMTP id f18mr283372wml.23.1623796997056; Tue, 15 Jun 2021 15:43:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXDRPBGit1+qiTznNaQkZ0tzDyzEJUQpbIe7YRs8rdpt1uZGZ6/0GfZIeZ83JzxVE1Y18lpQ== X-Received: by 2002:a7b:c8d2:: with SMTP id f18mr283352wml.23.1623796996824; Tue, 15 Jun 2021 15:43:16 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:dc22:6ba5:a376:4d8d]) by smtp.gmail.com with ESMTPSA id h11sm131421wmq.34.2021.06.15.15.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 15:43:16 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH][B/F/G/H/I/unstable linux] UBUNTU: [Packaging]: Add kernel command line condition to hv-kvp-daemon service Date: Tue, 15 Jun 2021 23:42:58 +0100 Message-Id: <20210615224258.452471-1-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 cc: Marcelo Henrique Cerri Acked-by: Stefan Bader Acked-by: Andy Whitcroft --- 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