From: Alexandre Derumier Date: Mon, 3 Feb 2020 05:30:29 +0000 (+0100) Subject: patch: config_tuning: state_dir=/run/network/ X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9a1cfd2361da05c66ae18773072a0495bcf50511;p=ifupdown2.git patch: config_tuning: state_dir=/run/network/ we don't want state_dir persistent across reboot. I have add some ifreload hanging after a crash, with non existing old interfaces Signed-off-by: Wolfgang Bumiller --- diff --git a/debian/patches/pve/0006-config-tuning.patch b/debian/patches/pve/0006-config-tuning.patch index d35436c..2ac0a9f 100644 --- a/debian/patches/pve/0006-config-tuning.patch +++ b/debian/patches/pve/0006-config-tuning.patch @@ -1,18 +1,18 @@ -From bae3a66ddfad4c0fcd86deeeac10b93b587ae199 Mon Sep 17 00:00:00 2001 +From 902cfb815abd85b9813f73c2bb0a5ea0fe70c03c Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 31 Dec 2018 10:49:48 +0100 -Subject: [PATCH 7/7] config tuning +Subject: [PATCH] config tuning multiple_vlan_aware_bridge_support=1 Signed-off-by: Thomas Lamprecht Signed-off-by: Alexandre Derumier --- - etc/network/ifupdown2/ifupdown2.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + etc/network/ifupdown2/ifupdown2.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/network/ifupdown2/ifupdown2.conf b/etc/network/ifupdown2/ifupdown2.conf -index ecdd94f..57ba598 100644 +index ecdd94f..c974077 100644 --- a/etc/network/ifupdown2/ifupdown2.conf +++ b/etc/network/ifupdown2/ifupdown2.conf @@ -45,7 +45,7 @@ addon_python_modules_support=1 @@ -24,6 +24,12 @@ index ecdd94f..57ba598 100644 # ifquery check status strings. # By default `ifquery --check` prints the check and +@@ -88,4 +88,4 @@ adjust_logical_dev_mtu=1 + # if this directory doesn't exists ifupdown2 will create it + # if directory creation fails or state_dir variable is empty + # state_dir will default to /var/tmp/network/ +-state_dir=/var/tmp/network/ ++state_dir=/run/network/ -- 2.20.1