From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 8CCFD633DE for ; Tue, 24 Nov 2020 19:56:32 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 83C22123C2 for ; Tue, 24 Nov 2020 19:56:02 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id C3CE6123AB for ; Tue, 24 Nov 2020 19:56:00 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 9087243F77 for ; Tue, 24 Nov 2020 19:56:00 +0100 (CET) From: Stoiko Ivanov To: pve-devel@lists.proxmox.com Date: Tue, 24 Nov 2020 19:55:45 +0100 Message-Id: <20201124185547.8832-1-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.087 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [osd.pm, proxmox.com] Subject: [pve-devel] [PATCH manager 0/2] fix small glitch in OSD destruction due to tainting X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2020 18:56:32 -0000 Saw the forum thread's subject [0] and was reminded of the issue with the LIO target provider recently [1]. Depending on feedback I might slowly be inclined to blindly untaint in run_command again? [0] https://forum.proxmox.com/threads/insecure-dependency-in-exec-during-osd-destroy.79574/ [1] https://lists.proxmox.com/pipermail/pve-devel/2020-October/045524.html Stoiko Ivanov (2): api2: osd destroy: fix error function api2: osd destroy: untaint device before pvremove PVE/API2/Ceph/OSD.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1