Debian Patches

Status for netplan.io/1.2.1-1

Patch Description Author Forwarded Bugs Origin Last update
0001-tests-ethernets-enable-wait-online-intergration-test.patch tests:ethernets: enable wait-online intergration test Lukas Märdian <slyon@ubuntu.com> no upstream, https://github.com/canonical/netplan/pull/546 2025-03-11
0002-generate-sriov-execute-udev-rules-before-starting-sr.patch generate: sriov: execute udev rules before starting sriov apply service

netplan-sriov-apply.service already depends on .device units to start its execution.
However that unit does not guarantee that expected interface names are already set.
As a result netplan might hit race condition with udev rules processing and interface
name can change when service is running. This can cause multiple issues in
apply_sriov_config function. For instance netplan will fetch current PF names and will
try to configure them according to the config, however if name changes during that process,
netplan will crash when trying to get pci slot name.

This issue is not visible outside of netplan-sriov-apply.service because netplan apply command
will explicitly trigger udev rules and wait for it to finish (before process_sriov_config call).

Proposed change modifies netplan-sriov-apply.service generation to execute udev rules, instead
of directly calling it in code, to explicitly show dependencies on udev rule execution.
Robert Malz <robert.malz@canonical.com> no https://github.com/canonical/netplan/commit/09402c69d158362745f55545e71836dc10935fdf 2026-02-02
lp-2138802-BlockingIOError-py314.patch Handle BlockingIOError in addition to TypeError Handle BlockingIOError in addition to TypeError for non-blocking read() in
terminal.py, since python 3.14 raises BlockingIOError instead of TypeError
when there is nothing to read.
Andreas Hasenack <andreas.hasenack@canonical.com> invalid 2026-02-21
lp2071747-unresolvable-network-cycle.patch netplan-configure.service: fix unresolvable network cycle The service needs to be able to lookup the "systemd-network" GID. Initially,
this was done by ordering the service After=nss-user-lookup.target. However,
this can result in an ordering cycle if nss-user-lookup.target is ordered
after some other service that is itself ordered after network-online.target
(winbind.service, for example).
Since "systemd-network" is created by systemd-sysusers, we can order it after
systemd-sysusers.service to ensure that the group already exists and avoid the
network cycle.
Guilherme Puida Moreira <guilherme.moreira@canonical.com> no
lp2145061-wpa-supplicant-requires-netplan-configure.patch gen-networkd: wpa supplicant unit requires netplan-configure.service
wpa_supplicant reads its configuration from
/run/netplan/wpa-<iface>.conf, which is written by
netplan-configure.service. Without an explicit Requires=/After=
dependency, wpa_supplicant could start before the config file is
available, causing it to fail.
Guilherme Puida Moreira <guilherme.moreira@canonical.com> yes 2026-04-08
tests-only-consider-netplan-generated-files.patch tests: only consider netplan-generated files in integration tests
Some files not managed by netplan can exist in those locations. Netplan
tests should only consider files actually generated by netplan itself.

This fixes autopkgtest failures due to dracut-network installing
/run/systemd/network/zzzz-dracut-default.network.
Guilherme Puida Moreira <guilherme.moreira@canonical.com> yes 2026-04-08
lp2147446-state-label-DHCPv4-using-networkd-ConfigSource.patch state: label DHCPv4 using networkd ConfigSource
`netplan status` did not label addresses as (dhcp) when systemd-networkd
installs no dhcp protocol routes.

DHCPv6 already uses networkd's ConfigSource to apply the (dhcp) label.
This patch extends this behavior to DHCPv4 as well, keeping the already
existing route-based detection for DHCPv4 as a fallback.
Guilherme Puida Moreira <guilherme.moreira@canonical.com> yes 2026-04-08

All known versions for source package 'netplan.io'

Links