]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add workaround for networkd downgrade issue 39293/head
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Nov 2025 16:46:34 +0000 (17:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Nov 2025 06:52:42 +0000 (07:52 +0100)
test/units/TEST-88-UPGRADE.sh

index 603efea98030cfa351e6a8f8e66cd34f49d92aaa..8bff38d24771999a02d3001bfe6c6d0e9f8f472c 100755 (executable)
@@ -83,6 +83,9 @@ timer2=$(systemctl show -P NextElapseUSecRealtime upgrade_timer_test.timer)
 
 dnf downgrade -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
 
+# FIXME: See https://github.com/systemd/systemd/pull/39293
+systemctl stop systemd-networkd-resolve-hook.socket || true
+
 # Some distros don't ship networkd, so the test will always fail
 if command -v networkctl >/dev/null; then
     networkd=1