From: Alexandre Derumier <aderumier@odiso.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH ifupdown2] patch: fix 3.1 pointopoint regression
Date: Mon, 26 Jul 2021 08:11:38 +0200 [thread overview]
Message-ID: <20210726061138.2754825-1-aderumier@odiso.com> (raw)
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 <aderumier@odiso.com>
---
.../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 <aderumier@odiso.com>
+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 <aderumier@odiso.com>
+---
+ 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
next reply other threads:[~2021-07-26 6:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-26 6:11 Alexandre Derumier [this message]
2021-07-26 10:41 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210726061138.2754825-1-aderumier@odiso.com \
--to=aderumier@odiso.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.