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) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id D460869344 for ; Mon, 26 Jul 2021 08:12:17 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BD3FF2FDBB for ; Mon, 26 Jul 2021 08:11:47 +0200 (CEST) Received: from kvmformation3.odiso.net (globalOdiso.M6Lille.odiso.net [89.248.211.242]) by firstgate.proxmox.com (Proxmox) with ESMTP id 228A32FDB1 for ; Mon, 26 Jul 2021 08:11:46 +0200 (CEST) Received: by kvmformation3.odiso.net (Postfix, from userid 0) id 8A83C81C6C; Mon, 26 Jul 2021 08:11:39 +0200 (CEST) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Mon, 26 Jul 2021 08:11:38 +0200 Message-Id: <20210726061138.2754825-1-aderumier@odiso.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.908 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HEADER_FROM_DIFFERENT_DOMAINS 0.249 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KHOP_HELO_FCRDNS 0.399 Relay HELO differs from its IP's reverse DNS NO_DNS_FOR_FROM 0.001 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH ifupdown2] patch: fix 3.1 pointopoint regression 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: Mon, 26 Jul 2021 06:12:17 -0000 user have reported a bug with pointopoint in 3.1 https://forum.proxmox.com/threads/hetzner-pve-7-0-problems-after-reboot-maybe-ifupdown2.92935/ it's coming from a change in https://github.com/CumulusNetworks/ifupdown2/commit/ba5437b9ecf9aa1401ac985ebf97009cc3114481 Signed-off-by: Alexandre Derumier --- .../pve/0014-fix-pointopoint-regression.patch | 28 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) create mode 100644 debian/patches/pve/0014-fix-pointopoint-regression.patch diff --git a/debian/patches/pve/0014-fix-pointopoint-regression.patch b/debian/patches/pve/0014-fix-pointopoint-regression.patch new file mode 100644 index 0000000..68ee3a0 --- /dev/null +++ b/debian/patches/pve/0014-fix-pointopoint-regression.patch @@ -0,0 +1,28 @@ +From 416e7623eb92524c7100aebc7b7265056737813d Mon Sep 17 00:00:00 2001 +From: Alexandre Derumier +Date: Mon, 26 Jul 2021 08:05:38 +0200 +Subject: [PATCH] fix pointopoint regression + +partially revert ba5437b9ecf9aa1401ac985ebf97009cc3114481 + +https://forum.proxmox.com/threads/hetzner-pve-7-0-problems-after-reboot-maybe-ifupdown2.92935/ +Signed-off-by: Alexandre Derumier +--- + ifupdown2/lib/nlcache.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/ifupdown2/lib/nlcache.py b/ifupdown2/lib/nlcache.py +index 9350ced..08f1108 100644 +--- a/ifupdown2/lib/nlcache.py ++++ b/ifupdown2/lib/nlcache.py +@@ -3172,7 +3172,6 @@ class NetlinkListenerWithCache(nllistener.NetlinkManagerWithListener, BaseObject + + if peer: + log_msg.append("peer %s" % peer) +- peer = ipnetwork.IPAddress(peer) + + packet.add_attribute(Address.IFA_ADDRESS, peer) + packet_prefixlen = peer.prefixlen +-- +2.30.2 + diff --git a/debian/patches/series b/debian/patches/series index c8bcffb..a005387 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -11,3 +11,4 @@ pve/0010-postinst-rm-update-network-config-compatibility.patch pve/0011-d-rules-drop-now-default-with-systemd.patch pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch pve/0013-postinst-reload-network-config-on-first-install.patch +pve/0014-fix-pointopoint-regression.patch \ No newline at end of file -- 2.30.2