]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: also stop nftables.service
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 Nov 2025 16:47:30 +0000 (01:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 7 Dec 2025 00:09:03 +0000 (09:09 +0900)
It is a firewall service used in postmarketOS.
When it is active, then e.g. DHCP packets are filtered, and many
tests will be failed.

test/test-network/systemd-networkd-tests.py

index beaefbdc8957259f30169ed9875017a2e29f22d5..c8c3bc1852f8024e0433a34bc10119f69f46576f 100755 (executable)
@@ -432,7 +432,8 @@ def save_active_units():
             'systemd-resolved-varlink.socket',
             'systemd-resolved.service',
             'systemd-timesyncd.service',
-            'firewalld.service'
+            'firewalld.service',
+            'nftables.service',
     ]:
         if call(f'systemctl is-active --quiet {u}') == 0:
             call(f'systemctl stop {u}')