Debian Patches

Status for netplan.io/1.1.2-7

Patch Description Author Forwarded Bugs Origin Last update
0003-tests-add-integration-test-for-wifi-psk-sha256.patch tests: add integration test for wifi/psk-sha256 Danilo Egea Gondolfo <danilogondolfo@gmail.com> not-needed https://github.com/canonical/netplan/commit/53636f1daa8d70c00a059a09404eb3e3a54ead8f 2024-12-18
lp2095203-0004-cli-apply-Ignore-udevadm-errors-triggering-devices-L.patch cli:apply: Ignore udevadm errors triggering devices (LP: #2095203) (#539)

* udevadm: Ignore errors triggering devices

Fixes LP: #2095203
Wesley Hershberger <wesley.hershberger@canonical.com> not-needed upstream https://github.com/canonical/netplan/commit/03e60e5ca8c4ce22a1c0fe51fa2c843b76cfd0f4 2025-02-05
python-limited-stable-api.patch Make use of Python's stable C API (abi3.so) =?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> yes 2024-03-19
0002-tests-wifi-use-dhcpcd-istead-of-deprecated-ISC-dhcli.patch tests:wifi: use dhcpcd istead of deprecated ISC dhclient =?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> not-needed https://github.com/canonical/netplan/commit/0b5783e80bad55f0d9005c5f845e3340fb00df5a 2025-02-04
0005-tests-ethernets-Avoid-test-failure-when-systemd-reso.patch tests:ethernets: Avoid test failure when systemd-resolved is not active

When systemd-resolved is not installed or active, we see this test failure
in integration tests:

Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.hth3pnvn/downtmp/build.lIK/real-tree/tests/integration/ethernets.py", line 158, in test_manual_addresses
self.assertRegex(resolv_conf, 'search.*fakesuffix')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
=?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> yes upstream 2025-04-08
0006-tests-regressions-Give-more-time-for-slow-architectu.patch tests:regressions: Give more time for slow architectures, like riscv64 =?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> yes 2025-04-08
0007-tests-integration-Avoid-race-condition-with-veth-MAC.patch tests:integration: Avoid race condition with veth MAC addresses.
When a new veth device is created via iproute2 ("ip link add ..."), the kernel
assigns a MAC address. Once udev picks up the interface, it will apply systemd
"MACAddressPolicy=permanent" default policy. But as veths cannot (by nature)
have a permanent MAC, systemd-udev will create a random (but persistent) MAC,
changing the kernel MAC.

Previously we waited for 0.1 sec to (hopefully) pick up the later system-udev
MAC, but sometimes that wasn't enough, and we still got the earlier kernel MAC,
failing certain tests cases, such as:

__main__.TestNetworkManager.test_eth_permanent_mac
__main__.TestNetworkManager.test_rename_interfaces
__main__.TestNetworkd.test_eth_permanent_mac
__main__.TestNetworkd.test_rename_interfaces

This patch drops the "time.sleep(0.1)" and instead triggers our test interfaces
and waits for settlement of those uevents via 'udevadm', to avoid race
conditions.
=?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> yes debian 2025-04-08
lp2083029-fix-try.patch Includes three commits from upstream: 1c41e763bfa9ddc8216801259d044f92a44f8aee
d5e21dda2f709de538a899b332ee9582f848251a
b5b5be8ca90e2ef3b3cef625fcb3cf5639ec7ea5
.
This adds integration tests for `netplan try` (run during autopkgtest) and
fixes two bugs that prevent try from applying a configuration after revert.
.
Backported the 'import pathlib' statement in tests/integration/base.py to
make the linter happy.
Wesley Hershberger <wesley.hershberger@canonical.com> yes upstream upstream, https://github.com/canonical/netplan/pull/548

All known versions for source package 'netplan.io'

Links