]>
git.proxmox.com Git - ifupdown2.git/log
Thomas Lamprecht [Wed, 15 Nov 2023 07:51:19 +0000 (08:51 +0100)]
bump version to 3.2.0-1+pmx6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 15 Nov 2023 07:36:39 +0000 (08:36 +0100)]
Revert "patch: fix bond mac address at boot."
causes odd issues, reported in the forum [0], so revert before we move
this along to the enterprise repository.
[0]: https://forum.proxmox.com/threads/136359/
Will be replaced by a systemd policy file [1].
[1]: https://lists.proxmox.com/pipermail/pve-devel/2023-September/059129.html
This reverts commit
a1a0ee382869f52b66ab67b237138b0375183a9e .
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 15 Sep 2023 14:20:36 +0000 (16:20 +0200)]
bump version to 3.2.0-1+pmx5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 1 Sep 2023 09:12:31 +0000 (11:12 +0200)]
patch: fix bond mac address at boot.
since systemd v241, like for bridge, the bond mac is setup randomly at
boot, instead inherit from first slave.
Then, on next ifreload, ifupdown2 was already fixing it, but with an
down/up of the bond (with potentials impact on the network).
This patch have been sent upstream:
https://github.com/CumulusNetworks/ifupdown2/pull/270
This patch is applying fine too for ifupdown2 for proxmox7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Thu, 10 Aug 2023 07:05:34 +0000 (09:05 +0200)]
bump version to 3.2.0-1+pmx4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Tue, 27 Jun 2023 10:56:51 +0000 (12:56 +0200)]
patch: fix ipv6 slaac on bridge
reported on the forum
https://forum.proxmox.com/threads/hi-i-stumble-upon-ipv6-slaac-issue-after-updating-to-pve8-0-3.129553
the sysctl accept_ra|autoconf was not applied on bridge interfaces
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Mon, 26 Jun 2023 18:40:29 +0000 (20:40 +0200)]
bump version to 3.2.0-1+pmx3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 26 Jun 2023 18:42:03 +0000 (20:42 +0200)]
d/patches: fix missing newline at end of series file
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 26 Jun 2023 09:42:42 +0000 (11:42 +0200)]
patch: add missing import traceback in scheduler
upstream: https://github.com/CumulusNetworks/ifupdown2/pull/267
if a script in /etc/network/ifup.d/ is segfaulting,
ifup is crashing with
info: executing2 /etc/network/if-up.d/postfix
debug: lo: up : running script /etc/network/if-up.d/resolved info: executing2 /etc/network/if-up.d/resolved
error: name 'traceback' is not defined
debug: saving state ..
info: exit status 1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 23 Jun 2023 09:02:58 +0000 (11:02 +0200)]
patch: ethtool: add rx-vlan-filter support
to fix nic like mellanox && vlan-aware-bridge
upstream pull request:
https://github.com/CumulusNetworks/ifupdown2/pull/266
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 23 Jun 2023 09:02:56 +0000 (11:02 +0200)]
add ethtool as depend
some users need to disable some buggy features for their nic,
install ethtool by default
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 21 Jun 2023 06:22:49 +0000 (08:22 +0200)]
bump version to 3.2.0-1+pmx2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 21 Jun 2023 06:21:24 +0000 (08:21 +0200)]
ship again policy for setting the bridge MAC from its first port
Fixes: cf37f18 ("merge upstream debian packaging metadata with ours")
Reported-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 13:52:40 +0000 (15:52 +0200)]
buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:10 +0000 (00:47 +0200)]
bump version to 3.2.0-1+pmx1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
[ T: merge and update changelog ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 12:59:42 +0000 (14:59 +0200)]
lintian: fix/override some complaints
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 12:58:35 +0000 (14:58 +0200)]
fix some outdated python interpreter shebang
luckily lintian complained, so fix it for two plugins we add in
patches and library module from upstream.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 10:42:00 +0000 (12:42 +0200)]
buildsys: add sbuild target for convenience
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 10:18:34 +0000 (12:18 +0200)]
d/control: raise standards version compliance to 4.6.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 10:18:28 +0000 (12:18 +0200)]
buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 10:18:15 +0000 (12:18 +0200)]
buildsys: use full DEB_VERSION
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 10:06:56 +0000 (12:06 +0200)]
d/control: define compat level via build-depends and raise to 13
drop outdated systemd override fallback
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 09:46:32 +0000 (11:46 +0200)]
merge in downstream packaging changes & drop patches
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 09:52:18 +0000 (11:52 +0200)]
merge upstream and our changelog
with tabs removed from upstream entries due to not being valid in a
changelog
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 09:26:25 +0000 (11:26 +0200)]
merge upstream debian packaging metadata with ours
as first step towards hosting the debian/packaging fully ourselves.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 20 May 2023 09:14:24 +0000 (11:14 +0200)]
update submodule to 3.2.0-pmx1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:09 +0000 (00:47 +0200)]
patch: remove lacp bond min-links=0 warning
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:08 +0000 (00:47 +0200)]
patch: add ipv6 slaac support upstream patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:07 +0000 (00:47 +0200)]
patch: reorder patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:06 +0000 (00:47 +0200)]
patch: remove old upstreamed patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 15 May 2023 22:47:05 +0000 (00:47 +0200)]
patch: patch5: fix code nit
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 17 May 2023 11:47:03 +0000 (13:47 +0200)]
makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 16 May 2023 10:01:18 +0000 (12:01 +0200)]
bump version to 3.1.0-1+pmx4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Thu, 20 Apr 2023 21:37:11 +0000 (23:37 +0200)]
patch: add vlan interface ifdown/ifup when changes on reload, like for vxlan
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 20 Apr 2023 21:37:10 +0000 (23:37 +0200)]
patch : vlan: fix vlan-protocol query check
upstream:
https://github.com/CumulusNetworks/ifupdown2/pull/258
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 14 Oct 2022 07:22:35 +0000 (09:22 +0200)]
add ovs support for fakebridge.
This was request by a proxmox user on ifupdown2 github issues.
https://github.com/CumulusNetworks/ifupdown2/issues/245
It was possible to do it with ifupdown1, but not ifupdown2.
The patch is already applied upstream
https://github.com/CumulusNetworks/ifupdown2/pull/246
example to define a fake ovs bridge with vlan10:
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
auto vmbr0v10
iface vmbr0v10 inet manual
ovs_type OVSBridge
ovs_bridge vmbr0
ovs_options vmbr0 10
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Mon, 26 Jul 2021 10:29:12 +0000 (12:29 +0200)]
bump version to 3.1.0-1+pmx3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 26 Jul 2021 06:11:38 +0000 (08:11 +0200)]
patch: fix 3.1 pointopoint regression
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>
Thomas Lamprecht [Fri, 16 Jul 2021 13:18:16 +0000 (15:18 +0200)]
bump version to 3.1.0-1+pmx2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 15 Jul 2021 08:35:00 +0000 (10:35 +0200)]
do not trigger ifreload in installer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 15:01:04 +0000 (17:01 +0200)]
buildsys: change upload dist to bullseye and add pmg and pbs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 14:59:00 +0000 (16:59 +0200)]
bump version to 3.1.0-1+pmx1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 14:58:55 +0000 (16:58 +0200)]
ship policy for setting the bridge MAC from its first port
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 14:21:44 +0000 (16:21 +0200)]
update submodule to what will be 3.1.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Wed, 14 Jul 2021 07:52:22 +0000 (09:52 +0200)]
update patches for 3.1.0
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Tue, 6 Jul 2021 12:00:20 +0000 (14:00 +0200)]
bump version to 3.0.0-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 6 Jul 2021 11:42:02 +0000 (13:42 +0200)]
add patch to reload after first install
when installing for the first time we want to reload the network config,
since sometimes the network will not be configured, e.g. when
coming from ifupdown. this would break installing ifupdown2 over
the network (e.g. ssh)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Tue, 25 May 2021 08:36:44 +0000 (10:36 +0200)]
bump version to 3.0.0-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 25 May 2021 08:36:07 +0000 (10:36 +0200)]
d/rules: add dh_installsystemd override for compat >= 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 10:39:32 +0000 (12:39 +0200)]
bump version to 3.0.0-1+pve4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 10:37:38 +0000 (12:37 +0200)]
debian: update comapt level to 12 and drop dh-systemd B-D
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 25 Sep 2020 07:22:45 +0000 (09:22 +0200)]
bump version to 3.0.0-1+pve3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 25 Sep 2020 07:17:15 +0000 (09:17 +0200)]
update ifupdown2 submodule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 21 Sep 2020 16:51:15 +0000 (18:51 +0200)]
update patch10: only rewrite config on first ifupdown2
we don't want to update config at each upgrade.
postinst can't detect upgrade vs install, it need to be done in preinst.
so I create a tmp file in preinst for first install, and detect this file
in postinst.
(as we need to have ifupdown2 installed first, to have the config rewrite working)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 21 Sep 2020 16:51:14 +0000 (18:51 +0200)]
patch: allow vlan tag inside vxlan tunnel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 21 Sep 2020 16:51:13 +0000 (18:51 +0200)]
remove patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
upstream : https://github.com/CumulusNetworks/ifupdown2/commit/
8994bdd39af6014c6de02cb0d9eb15535af2123e #diff-
1481ea1b5d4c5d73242f448fc8412b21
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 4 Jun 2020 11:33:58 +0000 (13:33 +0200)]
add patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
https://github.com/CumulusNetworks/ifupdown2/pull/166
Openvswitch already manage mtu if ovs-mtu is defined.
(Ovs manage mtu in userland, and sync mtu for some interfaces in kernel).
If mtu is changed by address module, before the ovs userland mtu,
this give packets drop.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Jun 2020 07:22:48 +0000 (09:22 +0200)]
bump version to 3.0.0-1+pve1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 3 Jun 2020 07:37:17 +0000 (09:37 +0200)]
update to master to avoid extra patches
All upstreamed by Alexandre and the master at time of writing is
besides one patch just that, so use it directly.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:23 +0000 (10:31 +0200)]
add patch 0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:21 +0000 (10:31 +0200)]
control: update python3
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:20 +0000 (10:31 +0200)]
add extra patch: 0004-fix-start-networking-permission.patch
https://github.com/CumulusNetworks/ifupdown2/commit/
5cbe13d17a28e1ce4a411092f0bd659360406572
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:19 +0000 (10:31 +0200)]
add extra patch: 0003-ovs-multiple-ovsport.patch
https://github.com/CumulusNetworks/ifupdown2/pull/164
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:18 +0000 (10:31 +0200)]
add extra patch: 0002-nllistener-increase-buffer.patch
https://github.com/CumulusNetworks/ifupdown2/commit/
523b347ad49234efb7787f6f084070034de7e977
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:17 +0000 (10:31 +0200)]
remove 0008-add-openvswitch-addon.patch
openvswitch is now upstream
add extra-patch for ovs-ports-condone-regex
https://github.com/CumulusNetworks/ifupdown2/pull/157
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:16 +0000 (10:31 +0200)]
rebase 0007-networking.service-fix-dependencies-and-ordering.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:15 +0000 (10:31 +0200)]
rebase 0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 2 Jun 2020 08:31:14 +0000 (10:31 +0200)]
remove extra patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Wed, 3 Jun 2020 07:23:31 +0000 (09:23 +0200)]
update submodule for 3.0.0 tag
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 19 May 2020 20:11:56 +0000 (22:11 +0200)]
bump version to 2.0.1-1+pve10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 19 May 2020 20:10:53 +0000 (22:10 +0200)]
postinst/postrm: only update network config on pve-common using systems
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 19 May 2020 06:26:16 +0000 (08:26 +0200)]
bump version to 2.0.1-1+pve9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Sat, 16 May 2020 12:07:05 +0000 (14:07 +0200)]
openvswitch: don't remove tap|veth interfaces when adding an internal ovs port
Currently, tap|veth interfaces are removed if user add a new ovs internal port and reload.
add ovs-ports-condone-regex option, like for bridge (to have the patch upstream).
default options to "tap|veth|fwpr"
to avoid to remove theses interfaces
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Mon, 16 Mar 2020 05:33:50 +0000 (06:33 +0100)]
bump version to 2.0.1-1+pve8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 15 Mar 2020 16:08:35 +0000 (17:08 +0100)]
drop now outdated allow=ovs service ExecStart/Stop
we now have a real OVS plugin which can handle this.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Mar 2020 07:10:04 +0000 (08:10 +0100)]
bump version to 2.0.1-1+pve7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Mar 2020 07:07:53 +0000 (08:07 +0100)]
post* compat rewrite: do not print changes to stdout
It can contain unicode stuff which gets us warnings and could also be
quite long, so avoid printing that out for now but add some newlines
to make the message stand out more.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Mar 2020 06:58:25 +0000 (07:58 +0100)]
netowrking-pre: fix udevadm path for non usr-merged systems
udevadm ships actually a full executable copy in /bin and /sbin, so
go for the path systemd-udev-settle.service is using too - but it
shouldn't matter
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 9 Mar 2020 12:26:01 +0000 (13:26 +0100)]
bump version to 2.0.1-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 9 Mar 2020 12:25:10 +0000 (13:25 +0100)]
drop breaks on ovs
it seems the OVS plugin can handle older versions still fine
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 7 Mar 2020 15:50:37 +0000 (16:50 +0100)]
bump version to 2.0.1-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 7 Mar 2020 16:56:33 +0000 (17:56 +0100)]
d/control: record break for pve-common and ovs
while we not actively break that we really want to ensure that those
or newer versions are used
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 7 Mar 2020 15:42:05 +0000 (16:42 +0100)]
install/purge compat change, graceful exit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 21 Feb 2020 09:27:14 +0000 (10:27 +0100)]
patch : postinst/postrm : convert network config for compatibility
Alexandre Derumier [Fri, 21 Feb 2020 09:27:13 +0000 (10:27 +0100)]
add openvswitch addon
This reimplement the ifupdown1 script with same options,
with reloading included !
Alexandre Derumier [Fri, 21 Feb 2020 09:27:12 +0000 (10:27 +0100)]
remove patch 0008-execute-addons-scripts-before-modules.patch
This was a workaround for openvswitch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 13 Feb 2020 06:30:31 +0000 (07:30 +0100)]
add patch to ifup/ifdown allow=ovs on start/stop
This is fixing possible race condition with ovs 2.12
ans also cleanly remove ovs interfaces on networking service stop
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 19 Feb 2020 11:47:11 +0000 (12:47 +0100)]
add ifupdown2-pre.service service
ifupdown1 have a service to launch "udevadm settle",
to be sure that networking devices are correctly setup
before networking service is started.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920623
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 24 Feb 2020 14:35:50 +0000 (15:35 +0100)]
patch: don't change interface forwarding value if not defined
Seem that my previous patch was forgot in the 2.0
https://github.com/CumulusNetworks/ifupdown2/pull/101
Without this, user with routed setup with sysctl fordwarding enable,
is removed when interface is up
User have reported the bug here:
https://forum.proxmox.com/threads/no-internet-on-all-vms-after-update.64404/#post-296540
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Mon, 3 Feb 2020 10:09:18 +0000 (11:09 +0100)]
bump version to 2.0.1-1+pve4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Mon, 3 Feb 2020 05:30:29 +0000 (06:30 +0100)]
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 <w.bumiller@proxmox.com>
Alexandre Derumier [Mon, 3 Feb 2020 05:30:28 +0000 (06:30 +0100)]
patch: execute addons scripts before modules
ifupdown2.0 now setup address in pre-up, but ovs script also
create in pre-up, but after address module.
This patch execute addons scripts before ifupdown modules
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 12:45:47 +0000 (13:45 +0100)]
followup: restore service ordering state as previous
commit
214bc505acdeaa33c9b9b14b75e16f292f8d95f3 removed this by
mistake. While I fix it before detecting that (thank Wolfgang!) lets
restore it more like the state it was.
Add missing ordering:
After=network-pre.target
See systemd.special(7)'s description of this target
After=systemd-sysctl.service
ifupdown does the same - we want net.*.conf.default.*
sysctl keys to apply to newly created interfaces
After=systemd-modules-load.service
ifupdown does the same, though this should be mostly
optional as modules should be autoloaded anyway
Before=network.target
This is required to prevent services which require
network to be started too early and listen on wrong
addresses (iow. only on loopback or ipv4-only).
Before=network-online.target
See systemd.special(7)'s description. We are the
provider of this target.
Before=shutdown.target
ifupdown does it this way, it also makes more sense
given the Conflict entry, compared to the previous
WantedBy entry in [Install]
Changed install section:
WantedBy=multi-user.target
I wasn't sure about this. ifupdown does this.
basic.target didn't seem useful since we actually want:
WantedBy=network-online.target
We provide this, so we should be installed into it.
removed WantedBy=network.target
We strictly want to be ordered before this and instead
are required by multi-user.target already.
removed WantedBy=shutdown.target
I didn't see the point.
Originally-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 11:51:48 +0000 (12:51 +0100)]
bump version to 2.0.1-1+pve3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 11:50:53 +0000 (12:50 +0100)]
fix networking.service ordering
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 13 Jan 2020 08:14:30 +0000 (09:14 +0100)]
bump version to 2.0.1-1+pve2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 13 Jan 2020 08:13:34 +0000 (09:13 +0100)]
backport fix to avoid exception in ifreload
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Tue, 7 Jan 2020 01:41:08 +0000 (02:41 +0100)]
bump version to 2.0.1-1+pve1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 9 Jan 2020 11:23:00 +0000 (12:23 +0100)]
update patches
remove add-uplink-id-option.patch (not needed),
remove arp-accept option patch (available upstream)
remove debian-fixup-networking.service.patch (new @ifup service upstream)
rebase others patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Wed, 8 Jan 2020 10:13:02 +0000 (11:13 +0100)]
update submodule to 2.0.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>