From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id EA3BD1FF15E for ; Mon, 24 Nov 2025 16:33:27 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9C95B3F7; Mon, 24 Nov 2025 16:33:38 +0100 (CET) From: Samuel Rufinatscha To: pbs-devel@lists.proxmox.com Date: Mon, 24 Nov 2025 16:33:21 +0100 Message-ID: <20251124153328.239666-5-s.rufinatscha@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251124153328.239666-1-s.rufinatscha@proxmox.com> References: <20251124153328.239666-1-s.rufinatscha@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763998378472 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.290 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 Subject: [pbs-devel] [PATCH proxmox-backup v4 4/4] partial fix #6049: datastore: add TTL fallback to catch manual config edits 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" VGhlIGxvb2t1cCBmYXN0IHBhdGggcmVhY3RzIHRvIEFQSS1kcml2ZW4gY29uZmlnIGNoYW5nZXMg YmVjYXVzZQpzYXZlX2NvbmZpZygpIGJ1bXBzIHRoZSBnZW5lcmF0aW9uLiBNYW51YWwgZWRpdHMg b2YgZGF0YXN0b3JlLmNmZyBkbwpub3QgYnVtcCB0aGUgY291bnRlci4gVG8ga2VlcCB0aGUgc3lz dGVtIHJvYnVzdCBhZ2FpbnN0IHN1Y2ggZWRpdHMKd2l0aG91dCByZWludHJvZHVjaW5nIGNvbmZp ZyByZWFkaW5nIGFuZCBoYXNoaW5nIG9uIHRoZSBob3QgcGF0aCwgdGhpcwpwYXRjaCBhZGRzIGEg VFRMIHRvIHRoZSBjYWNoZSBlbnRyeS4KCklmIHRoZSBjYWNoZWQgY29uZmlnIGlzIG9sZGVyIHRo YW4KREFUQVNUT1JFX0NPTkZJR19DQUNIRV9UVExfU0VDUyAoc2V0IHRvIDYwcyksIHRoZSBuZXh0 IGxvb2t1cCB0YWtlcwp0aGUgc2xvdyBwYXRoIGFuZCByZWZyZXNoZXMgdGhlIGVudHJ5LiBBcyBh biBvcHRpbWl6YXRpb24sIGEgY2hlY2sgdG8KY2F0Y2ggbWFudWFsIGVkaXRzIHdhcyBhZGRlZCAo aWYgdGhlIGRpZ2VzdCBjaGFuZ2VkIGJ1dCBnZW5lcmF0aW9uCnN0YXllZCB0aGUgc2FtZSksIHNv IHRoYXQgdGhlIGdlbmVyYXRpb24gaXMgb25seSBidW1wZWQgd2hlbiBuZWVkZWQuCgpMaW5rcwoK WzFdIGNhcmdvLWZsYW1lZ3Jhc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y2FjaGUKKyAgICAgICAgICAgICAgICAuYXNfcmVmKCkKKyAgICAgICAgICAgICAgICAubWFwKHxj fCAoU29tZShjLmxhc3RfZ2VuZXJhdGlvbiksIFNvbWUoYy5kaWdlc3QpKSkKKyAgICAgICAgICAg ICAgICAudW53cmFwX29yKChOb25lLCBOb25lKSk7CisKKyAgICAgICAgICAgIGxldCBtYW51YWxf ZWRpdCA9IG1hdGNoIChwcmV2X2dlbiwgcHJldl9kaWdlc3QpIHsKKyAgICAgICAgICAgICAgICAo U29tZShwcmV2X2cpLCBTb21lKHByZXZfZCkpID0+IHByZXZfZyA9PSBjdXJyZW50X2dlbiAmJiBw cmV2X2QgIT0gZGlnZXN0LAorICAgICAgICAgICAgICAgIF8gPT4gZmFsc2UsCisgICAgICAgICAg ICB9OworCisgICAgICAgICAgICBpZiBtYW51YWxfZWRpdCB7CisgICAgICAgICAgICAgICAgbGV0 IHByZXZfZ2VuID0gdmVyc2lvbl9jYWNoZS5pbmNyZWFzZV9kYXRhc3RvcmVfZ2VuZXJhdGlvbigp OworICAgICAgICAgICAgICAgIGVmZmVjdGl2ZV9nZW4gPSBwcmV2X2dlbiArIDE7CisgICAgICAg ICAgICB9CiAKICAgICAgICAgICAgIC8vIFBlcnNpc3QKICAgICAgICAgICAgICpjb25maWdfY2Fj aGUgPSBTb21lKERhdGFzdG9yZUNvbmZpZ0NhY2hlIHsKICAgICAgICAgICAgICAgICBjb25maWc6 IGNvbmZpZy5jbG9uZSgpLAorICAgICAgICAgICAgICAgIGRpZ2VzdCwKICAgICAgICAgICAgICAg ICBsYXN0X2dlbmVyYXRpb246IGVmZmVjdGl2ZV9nZW4sCisgICAgICAgICAgICAgICAgbGFzdF91 cGRhdGU6IG5vdywKICAgICAgICAgICAgIH0pOwogICAgICAgICB9CiAKLS0gCjIuNDcuMwoKCgpf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMtZGV2ZWwg bWFpbGluZyBsaXN0CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnBy b3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK