From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 2B9941FF163 for ; Thu, 5 Dec 2024 10:13:22 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B841216261; Thu, 5 Dec 2024 10:13:21 +0100 (CET) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pbs-devel@lists.proxmox.com Date: Thu, 5 Dec 2024 10:12:47 +0100 Message-Id: <20241205091247.1683318-1-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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. [datastore.rs] Subject: [pbs-devel] [PATCH proxmox-backup] fix #5967: datastore lookup: check for disappeared datastores X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" c29tZSBjb2RlIHBhdGhzIHdpbGwgb25seSByZWFkIHRoZSBkYXRhc3RvcmUgYmFzZSAtIGlmIHRo ZSBkYXRhc3RvcmUKZGlzYXBwZWFyZWQgKGUuZy4sIGEgbGF6eSB1bm1vdW50LCBvciBzb21lIG5l dHdvcmsgc3RvcmFnZSBkaXNhcHBlYXJpbmcgd2l0aG91dApibG9ja2luZykgdGhlbiB3ZSBzaG91 bGQgYXQgbGVhc3QgZGV0ZWN0IHRoZSBpc3N1ZSBhdCBsb29rdXAgdGltZSBiZWZvcmUKcmUtdXNp bmcgYW4gYWxyZWFkeSBvcGVuZWQgZGF0YXN0b3JlLgoKYW55IGNvZGUgcGF0aCB0aGF0IHRyaWVk IHRvIGFjY2VzcyB0aGUgY2h1bmtzIHRoZW1zZWx2ZXMgd291bGQgYWxyZWFkeSBoYXZlCmZhaWxl ZCB3aXRob3V0IHRoaXMgYWRkaXRpb25hbCBzYWZlZ3VhcmQsIGJ1dCBpbiBwYXJ0aWN1bGFyIHF1 ZXJpZXMgbGlzdGluZwpuYW1lc3BhY2VzIG9yIGdyb3VwcyBpbiB0aGUgcm9vdCBuYW1lc3BhY2Ug ZG9uJ3QsIHdoaWNoIG1pZ2h0IGNhdXNlIGEgcmVtb3RlCmNsaWVudCBzdWNoIGFzIHB1bGwgc3lu YyB0byBtaXN0YWtlbmx5IHRoaW5rIHRoYXQgdGhlIGRhdGFzdG9yZSBpcyBlbXB0eS4KCmxpbWl0 IHRoZSBhZGRpdGlvbmFsIGNoZWNrIHRvIGBSZWFkYCBvciBgV3JpdGVgIGxvb2t1cHMsIHNpbmNl IGFueSBjb2RlIHBhdGgKZG9pbmcgdGhvc2Ug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WUgcHJvY2VzcyBsb2NrZXIgaW5zdGFuY2UhCiAgICAgICAg IGxldCBjaHVua19zdG9yZSA9IGlmIGxldCBTb21lKGRhdGFzdG9yZSkgPSAmZW50cnkgewogICAg ICAgICAgICAgbGV0IGxhc3RfZGlnZXN0ID0gZGF0YXN0b3JlLmxhc3RfZGlnZXN0LmFzX3JlZigp OworICAgICAgICAgICAgbWF0Y2ggb3BlcmF0aW9uIHsKKyAgICAgICAgICAgICAgICBTb21lKE9w ZXJhdGlvbjo6UmVhZCkgfCBTb21lKE9wZXJhdGlvbjo6V3JpdGUpID0+IHsKKyAgICAgICAgICAg ICAgICAgICAgQ2h1bmtTdG9yZTo6Y2h1bmtfZGlyX2FjY2Vzc2libGUoJmRhdGFzdG9yZS5jaHVu a19zdG9yZS5iYXNlX3BhdGgoKSk/OworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAg ICBTb21lKE9wZXJhdGlvbjo6TG9va3VwKSB8IE5vbmUgPT4ge30KKyAgICAgICAgICAgIH0KICAg ICAgICAgICAgIGlmIGxldCBTb21lKHRydWUpID0gbGFzdF9kaWdlc3QubWFwKHxsYXN0X2RpZ2Vz dHwgbGFzdF9kaWdlc3QgPT0gJmRpZ2VzdCkgewogICAgICAgICAgICAgICAgIGlmIGxldCBTb21l KG9wZXJhdGlvbikgPSBvcGVyYXRpb24gewogICAgICAgICAgICAgICAgICAgICB1cGRhdGVfYWN0 aXZlX29wZXJhdGlvbnMobmFtZSwgb3BlcmF0aW9uLCAxKT87Ci0tIAoyLjM5LjUKCgoKX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcGJzLWRldmVsIG1haWxp bmcgbGlzdApwYnMtZGV2ZWxAbGlzdHMucHJveG1veC5jb20KaHR0cHM6Ly9saXN0cy5wcm94bW94 LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vcGJzLWRldmVsCg==