-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Netavark supports nftables out of the box and it has also been set as default conditionally at least for fedora 41. At the same time, criu supports --network-lock
to allow users to set the firewall driver of choice but defaults to iptables to perform network [un]locking. But which firewall driver is being used isn't being passed onto criu currently and so, if you build netavark with nftables on a system that doesn't have iptables installed, upon trying to checkpoint/restore a container, criu tries to use iptables utils and fails.
--network-lock
support has been added to crun, and I'm testing the same changes for runc. What remains is to pass the firewall driver to the runtime from podman, @Luap99 on IRC mentioned that it's possible to get this info but it might not be straightforward, can we discussion possible solutions?
The issue was caught during [open]QA when we started building netavark with nftables by default in Tumbleweed and removed our iptables dependency from podman in the process.