Commit Graph

144 Commits

Author SHA1 Message Date
Mira Limbeck
911804b5fc fix patch 0008-lacp: replace else with if condition
The original patch removed the first branch of `if` condition, leaving the
`else` in which matched the `if` above.
The correct condition for this `else` is any bond mode that is not `lacp`
(4).

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2023-11-20 14:23:21 +01:00
Thomas Lamprecht
033e928212 bump version to 3.2.0-1+pmx6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-15 08:51:19 +01:00
Thomas Lamprecht
da9efd06ea 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 a1a0ee3828.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-15 08:48:35 +01:00
Thomas Lamprecht
c5ce931497 bump version to 3.2.0-1+pmx5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-09-15 16:20:36 +02:00
Alexandre Derumier
a1a0ee3828 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>
2023-09-15 16:18:45 +02:00
Wolfgang Bumiller
f18921bd18 bump version to 3.2.0-1+pmx4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-08-10 09:05:34 +02:00
Alexandre Derumier
029291810b 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>
2023-08-10 08:55:29 +02:00
Thomas Lamprecht
0bb513335b bump version to 3.2.0-1+pmx3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 20:42:13 +02:00
Thomas Lamprecht
edbd9dd19f d/patches: fix missing newline at end of series file
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 20:42:13 +02:00
Alexandre Derumier
1d1512c804 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>
2023-06-26 20:42:13 +02:00
Alexandre Derumier
254c66ce10 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>
2023-06-26 20:42:13 +02:00
Alexandre Derumier
f82f684a21 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>
2023-06-26 20:42:13 +02:00
Thomas Lamprecht
8bd3ea38af bump version to 3.2.0-1+pmx2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-21 08:22:49 +02:00
Thomas Lamprecht
0b706d7190 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>
2023-06-21 08:22:35 +02:00
Thomas Lamprecht
a507189819 buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:52:40 +02:00
Alexandre Derumier
8ff75e3c69 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>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
19e2335ced lintian: fix/override some complaints
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
f02194b871 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>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
3a7603f059 buildsys: add sbuild target for convenience
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
698f831926 d/control: raise standards version compliance to 4.6.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
e668a4278c buildsys: add dsc target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
4fb10245ab buildsys: use full DEB_VERSION
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
c4132b1ce4 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>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
c4159c1c07 merge in downstream packaging changes & drop patches
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
2bc14bc254 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>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
cf37f188a5 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>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
0fbaa455ab update submodule to 3.2.0-pmx1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Alexandre Derumier
f9fec01680 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>
2023-05-20 15:48:33 +02:00
Alexandre Derumier
9e5b857e45 patch: add ipv6 slaac support upstream patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Alexandre Derumier
234ce3a0a5 patch: reorder patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Alexandre Derumier
3233d1716e patch: remove old upstreamed patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Alexandre Derumier
261944f030 patch: patch5: fix code nit
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
6e7ad15f2a makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-20 15:48:33 +02:00
Thomas Lamprecht
4c0e2ad7bd bump version to 3.1.0-1+pmx4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-16 12:01:18 +02:00
Alexandre Derumier
be93f4754c patch: add vlan interface ifdown/ifup when changes on reload, like for vxlan
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2023-04-22 08:59:03 +02:00
Alexandre Derumier
3c4e774f5e patch : vlan: fix vlan-protocol query check
upstream:
https://github.com/CumulusNetworks/ifupdown2/pull/258
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2023-04-22 08:59:03 +02:00
Alexandre Derumier
7aa3a5e6b6 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>
2022-10-14 15:21:19 +02:00
Thomas Lamprecht
02c0adc2ae bump version to 3.1.0-1+pmx3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-26 12:29:12 +02:00
Alexandre Derumier
ceca2b819f 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
ba5437b9ec

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-07-26 12:28:05 +02:00
Thomas Lamprecht
825a87a5f3 bump version to 3.1.0-1+pmx2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-16 15:18:16 +02:00
Thomas Lamprecht
1b11ea3f7e do not trigger ifreload in installer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-15 10:35:00 +02:00
Thomas Lamprecht
8163f4f7bb buildsys: change upload dist to bullseye and add pmg and pbs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 17:01:04 +02:00
Thomas Lamprecht
14a5b60edd bump version to 3.1.0-1+pmx1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:59:00 +02:00
Thomas Lamprecht
f689f12580 ship policy for setting the bridge MAC from its first port
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:58:55 +02:00
Thomas Lamprecht
7b2fe41c86 update submodule to what will be 3.1.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:21:44 +02:00
Alexandre Derumier
0e6fe6dec4 update patches for 3.1.0
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-07-14 16:21:16 +02:00
Thomas Lamprecht
5323721c43 bump version to 3.0.0-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-06 14:00:20 +02:00
Dominik Csapak
86335f3f89 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>
2021-07-06 13:54:18 +02:00
Thomas Lamprecht
f4a6c643b8 bump version to 3.0.0-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-25 10:36:44 +02:00
Thomas Lamprecht
7f8eaeb0b3 d/rules: add dh_installsystemd override for compat >= 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-25 10:36:07 +02:00