Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp453048rdb; Mon, 22 Jan 2024 09:08:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtvtI1FI7ydfyWyKY09+f9FkiHMwn8W0Ufq4JhGiIGxm87pRg8Ca/HElWsjZlOtLwcLm0D X-Received: by 2002:a05:620a:6229:b0:783:8d13:998e with SMTP id ou41-20020a05620a622900b007838d13998emr4820812qkn.36.1705943298925; Mon, 22 Jan 2024 09:08:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705943298; cv=pass; d=google.com; s=arc-20160816; b=jrA3XPOV1ypLV/GCPyPjxNwVI9QM4IJwjT+mF+5PcAdABj5RSmJ5L88Xf/GXb1pYHC XMnYM7epj3MdUrG+6K6m9z/HSWvyHsDxcyIUuKSEwbaaY4FGaEZBL6oAx4vhVBFCKv/B mwBuIqYYr1DHcdUdV59eNQlZMMjABaoZnFirCOVyHqB/BnuzqRR8gKv3xSCTzn+a7qa/ xSCWHWdJsuuxY9/oWwNhUR+uetGygcievLsKKzkMdCZMX4hVQOX/GsU4Lbmq0cJEe2Gq J3ueEErawaH8fyvJWuqON5B4/gTiDElXz4awbAxr8L7oU2kWliJ3DQ8JgLpugR5iqFJv oxEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=z9ec84LTNQxrzMH3mbPk9MiChnTFnB/bKKQmPAxhz7c=; fh=UtjiNYbYZwpSkQBvFYcjoqZCLQVWRkcJXV3l/BIBQoQ=; b=dyiFP9cmtX6Eh5os2iNSOQxF66C4XPsZipC4ovPN7//zP83mfp8RyEKYhNHpIrnzqA IyH5PTbpvf9sg1R5g1T6qk4xMcFQxKtmGQlNrT8hyOiaGYvVBQ6eHNN21S2CCiGhtIZ5 4aRwx1vzKLzxYoCXl31OwfuGWaoDd09moYrKwr5btbwQ8GOl0i2izkQX+5Q7F4N4kMhb z1BccQLg2710/walBgtU5XR7+OG2ngqM9BUz8XBLYmoRmawGDXNJtqYuOSudQg4ttRTz Fmpb2wzmswS00swQIk2cPKn5B1WHt5rJ1ac7EWWa8iHVD+qqR0exG/t6ZEtpL3YgYlbh Xn/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VjBj6HWP; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-33633-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ow25-20020a05620a821900b007832e75451bsi5939857qkn.18.2024.01.22.09.08.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 09:08:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33633-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VjBj6HWP; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-33633-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DF2AA1C22348 for ; Mon, 22 Jan 2024 17:07:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC7814B5B3; Mon, 22 Jan 2024 15:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VjBj6HWP" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEAB13DB98 for ; Mon, 22 Jan 2024 15:53:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705938808; cv=none; b=uwbJhf0rZDPqNKTH3foWhs2Qb2yeMlVP4IKBVyYeTF0NmadXViRd8Nktn21OK+suXVZDw1eWx8M+6EkYFX18DOvFbBn3yWmZ3YrxtvwkUEWfuRsitQwPeJcS3aJwU18gCqaqbkxat0JBHOLGEt0nNuCPuXf43oQZAMJ+M7Xbztc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705938808; c=relaxed/simple; bh=z9ec84LTNQxrzMH3mbPk9MiChnTFnB/bKKQmPAxhz7c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aO/TyT+Kw77jQOwKypD5zwKchGyQRH6+H2rin2Ke6iseq9aN0qReQDjy30Lff0pMCFOCxVJDFdr5zIblaz/yi0YBBETMnvuuia/UcvhfNUdMsQtvoAbH+tR+QKbB5A3nrLcC7uYmNlp54cBU/MNSLFaXyV9MoBeeTLKk6OHRf8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=VjBj6HWP; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705938805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z9ec84LTNQxrzMH3mbPk9MiChnTFnB/bKKQmPAxhz7c=; b=VjBj6HWPIqmCslhO5WwYx2eehEwcXKGktuilfTYiStrklvMnUinNZOeAa56szrCe73zqpv xEBZtjJo+G+HNa0C7LTV7LgvJDZC0Ayywccv+HzXPNLWy6zXqFRFC7YAiUlAN9p2S/Tgyd 9hor6yEA4KKjxd81QKDAWX+8Z2aWmxc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-599-JWOpoJGAP6W7FtoNqXo_0Q-1; Mon, 22 Jan 2024 10:53:22 -0500 X-MC-Unique: JWOpoJGAP6W7FtoNqXo_0Q-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C5C5186D4D4; Mon, 22 Jan 2024 15:53:21 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.39.192.175]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52EC85012; Mon, 22 Jan 2024 15:53:19 +0000 (UTC) From: Jose Ignacio Tornos Martinez To: masahiroy@kernel.org Cc: dcavalca@meta.com, jtornosm@redhat.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, nathan@kernel.org, ndesaulniers@google.com, nicolas@fjasle.eu, stable@vger.kernel.org Subject: Re: [PATCH V5 2/2] rpm-pkg: avoid install/remove the running kernel Date: Mon, 22 Jan 2024 16:53:15 +0100 Message-ID: <20240122155318.13848-1-jtornosm@redhat.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 > You can proceed with 'rpm -i --force', but > that is the user's responsibility if something bad happens. > No, not OK. Ok, understood and maybe it is interesting for the user. Indeed, zypper tool from openSUSE can be configured to protect the running kernel as dnf. I drop this patch. Thanks Best regards José Ignacio