Let's celebrate the release of Netplan v1.2! 🐙
Kudos to everybody involved!
Highlights
- Split in
/usr/libexec/netplan/generateandnetplan-configure.servicestages by @slyon in #552- To achive systemd-generator compatibility.
- Allows non standard OVS setups by @crypticC0der in #549
- E.g. for consuming Open vSwitch from a snap.
- Utilize systemd-networkd-wait-online for waiting on DNS servers by @slyon in #535
- As implemented in systemd/systemd#34640.
Releasing v1.2
- meson: Build using Python 3.10 limited API (LP#2050881) by @slyon in #448
- Fail cleanly when systemd-networkd is not installed by @jonathanspw in #555
- Ensure netplan directory creation is idempotent by @Yanovon in #562
- Use OVS from apt before snap when both exist. (LP#2127195) by @crypticC0der in #563
- tests: add integration test for wifi/psk-sha256 by @daniloegea in #534
- tests:wifi: Replace deprecated ISC dhclient & fail properly by @slyon in #541
- test:dbus: avoid dependency on dbus-launch (Closes: #1117099) by @slyon in #560
- ci: enable the TICS workflow scheduled task by @daniloegea in #506
- ci/tics: set the token before trying to download TICS by @daniloegea in #508
- CI: cleanup after v1.1 release by @slyon in #510
- [RFC] CI: Ignore errors off by default by @slyon in #515
- CI: autopkgtest edge cases for slow architectures and without systemd-resolved by @slyon in #550
- CI: adopt to autopkgtest 5.47~24.04.1 by @slyon in #554
- CI: Update rpmbuild to latest Fedora/EPEL spec by @jonathanspw in #556
Documentation
- doc: Fix How-to guides link (LP#2126684) by @slyon in #559
- doc: fix link to 'Set up WSL on Windows' to fix linkcheck CI by @slyon in
#561
Bug fixes
- Fix
netplan tryrevert (LP#2083029) by @MggMuggins in #548 - cli:apply: Ignore udevadm errors triggering devices (LP#2095203) by @MggMuggins in #539
- Fix function prototypes for *_new() functions of parser and state by @JanSoundhouse in #547
- Only create a tempdir when needed by @Cellebyte in #564
New Contributors
- @JanSoundhouse made their first contribution in #547
- @crypticC0der made their first contribution in #549
- @jonathanspw made their first contribution in #556
- @Yanovon made their first contribution in #562
- @Cellebyte made their first contribution in #564
Full Changelog: 1.1.2...1.2
Show all
$ git shortlog 1.1..HEAD
Brandon Casey (4):
parse.c: quiet "may be used uninitialized" warnings/errors
ATTN: networkmanager: add support for "routing-policy"
validation: remove superfluous comparison
ATTN: validation: warn if a priority is not set for a routing-policy
Danilo Egea Gondolfo (30):
ci: enable the TICS workflow scheduled task
ci/tics: set the token before trying to download TICS
cli: drop python-netifaces
apply: don't skip members of bonds on renaming
ci: add ethtool as a netplan.io dependency
parse-nm: account for veth and dummy when checking for virtual types
ovs: quote external-ids and other-config values
meson: enable -Wconversion by default
error.c: fix implicit conversions
netplan.c: fix implicit conversions
util.c: fix implicit conversions
nm.c: fix implicit conversions
openvswitch.c: fix implicit conversions
parse.c: fix implicit conversions
parse-nm.c: fix implicit conversions
sriov.c: fix implicit conversions
util.c: fix implicit conversions
validation.c: fix implicit conversions
ctests: fix implicit conversions
Revert "cli:apply: improve networkd restart logic for non-existent networkd config"
Revert "apply: compare full configuration to decide to restart networkd"
status: fix SSID parsing
cli: set LC_ALL to C.UTF-8
state/Interface: improve netdef ID handling with NetworkManager
state/SSID: handle non-ascii SSIDs
state: get the SSID from NM if it's the backend
wpa_supplicant: add ExecReload to the service unit
networkmanager: add support for stable-ssid MAC option
parse: fix renderer validation for nm-devices
tests: add integration test for wifi/psk-sha256
JanSoundhouse (2):
state.h: add missing void for parameterless function prototype
parse.h: fix parameterless function prototype
Jared Nielsen (1):
ODA #107: Create snippet files for single-sourcing repetitive instructions (#505)
Jonathan Wright (3):
CI: Update rpmbuild to latest Fedora/EPEL spec
cli:utils Fix systemctl_is_installed
cli:status fail cleanly if systemd-networkd is not present
Lukas Märdian (85):
networkd: fix __FUNCTION__ macro and implicit boolean condition
tree-wide: refactoring to avoid Conditionals with Omitted Operands and use proper Boolean conditions
CI: fix 'lxd-ubuntu-lts' naming (after moving it to 24.04/Noble)
tests:integration:base: fix imports, using isort
tests:ethernets: Add comments about MAC->EUI64 transformation and move method to base.py
cli:state: call busctl in favor of dbus-python
test:cli:state: adopt for busctl instead of dbus-python
CI: cleanup after v1.1 release
test:routing:tunnels: Improve vrf/wireguard modprobe check inside containers
tests:ethernets: avoid flaky test_ip6_eui64 results, when statefull DHCPv6 is quicker than stateless EUI-64 address generation
GH: Update pull-request template
CI:tests: Disable NETPLAN_PARSER_IGNORE_ERRORS by default
networkd:openvswitch:sriov: Permissive umask for .service units (LP#2072487)
tests: Adopt for more permissive umask of .service units
doc: Update thread model regarding .service unit permissions
validation: fix comment about WireGuard key length
doc: Add initial 'Cryptography' section
include: fix apidoc warnings about undocumented parameters
CI: Fix fedora:latest (F41) failure
validation: use curly braces for all branches
CI: cleanup spread.yml workflow now that PR#184 is fixed
tests:wifi: use dhcpcd istead of deprecated ISC dhclient
CI: downgrade systemd dependency (wait-online DNS)
tests:wifi: Fail properly, don't indicate 'OK (skipped=all) PASS'
CI: allow wifi test to be skipped
tests:integration: Fix warning about 01-main.yaml permissions
networkd: wait-online wait for DNS servers to be assigned
test:generator: wait-online DNS testing
tests:ethernets: wait-online DNS testing
tests:ethernets: Avoid test failure when systemd-resolved is not active
tests:regressions: Give more time for slow architectures, like riscv64
tests:integration: Avoid race condition with veth MAC addresses.
cli:configmanager: rename _copy_tree() to copy_tree()
CI: adopt to autopkgtest 5.47~24.04.1
CI: keep Fedora RPM compatible with /usr/sbin like RHEL and Ubuntu/Debian
meson: Build using Python 3.10 limited API (LP#2050881)
CI: fix codeql build
RPM: avoid meson upgrade for EL9
doc: Fix How-to guides link (LP#2126684)
test:dbus: avoid dependency on dbus-launch (Closes: #1117099)
doc: fix link to 'Set up WSL on Windows' to fix linkcheck CI
test_args: fix typo in 'interfaces eth99.46'
test:cli_legacy: Avoid permission warnings
configure: Add new binary to produce network service configs
generate: Drop non-sd-generator compliant logic
test:generator: Test sd-generator sandbox
openvswitch: Refactoring into systemd-generator
networkd: Refactor wait-online/sd-networkd for sd-generator
test:sd-generator: check output dirs for OVS and wait-online files
test:sd-generator: Check for WiFi regdom & wpa units
generate: Nothing to do for NM in sd-generator
generate: sriov: test: Refactor SR-IOV for sd-generator
cli:generate: Execute ./generate & ./configure
test:cli_legacy: adopt to new sd-generator
test:parser:base: Adopt for sd-generator (calling ./configure)
test:generator:base+sd-generator: execute ./generate in sandbox and ./configure
test:args: adopt to sd-generator
test:generator:auth: adopt for sd-generator
test:generator:wifis: adopt to sd-generator
configure: Cannot be called as a sd-generator
configure: cli:generate: cleanup legacy --mapping option
cli:apply: adopt for sd-generator by running the 'configure' stage
CI: Install generator-configure stage
sd-generate: fail on missing generator_dir
CI: workaround NM integration CAP_CHOWN issue (LP#2090848)
doc: Update docs for sd-generator
tests:integration: adopt for sd-generator
Add initial, basic netplan-configure.service
CI: install netplan-configure.service
CI: adopt RPM spec for netplan-configure
generate: allow to force errors in generator
CI:test:fuzzer: adopt for generate & configure stages
generate: accept the /run/netplan/netplan-try.ready stamp
gen-networkd: wait-online in generator.late stage
test:generator:args: netplan.stamp is no more
generate:configure: Synchronize late-stage validation between sd-generator and network-configurator
tests: deterministic listdir() using a set()
cli:try:generate: avoid calling 'daemon-reload' through NetworkManager integration during 'netplan try'
configure: allow to write only NM configs --networkmanager-only (LP#2090848)
configure: Adopt start_unit_jit() logic for sd-genreator
CI: fix cloud-init tests in Ubuntu autopkgtest by using a newer version of the test
CI: avoid warning from netplan-generator.postinst
CI: avoid re-building NetworkManager
configure: drop JIT logic, which is not needed anymore with the sd-generator
tests:gen:base: Don't fail inside sbuild/chroot environment
MJ Ponsonby (2):
Allows non standard OVS setups
Use OVS from apt before snap when both exist.
Marcel Fest (1):
Only create a tempdir when needed
Tasos Sahanidis (1):
tests: ethernets: Add ipv6-address-generation integration tests
Wesley Hershberger (8):
doc: Add anchor link for deprecated gateway4/6 keys
cli:apply: Ignore udevadm errors triggering devices (LP#2095203) (#539)
generate: Use G_DIR_SEPARATOR_S for paths
tests:integration: `netplan try`
cli: ConfigManager must copy file ownership
cli: Use ConfigManager._copy_tree for try revert backup
generate: Don't run during `netplan try`
cli: Fix logging merged config
Yanovon (1):
Ensure netplan directory creation is idempotent
isaacyang (1):
wifi: add support for wpa-psk-sha256 https://pad.lv/2085320 https://pad.lv/2084237