test-network: also stop nftables.service
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.
This commit is contained in:
@@ -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}')
|
||||
|
||||
Reference in New Issue
Block a user