[CRIU] [PATCH v4] net/iptables: check iptables command has wait option
Cyrill Gorcunov
gorcunov at gmail.com
Tue Jun 28 00:42:11 PDT 2016
On Tue, Jun 28, 2016 at 10:07:11AM +0300, Pavel Tikhomirov wrote:
> First, I've somehow lost part of the commit message:
> """
> CRIU-3.11 job's environment has iptables version <=v1.4.19. As there
> were no xtables locking and no --wait option before v1.4.20 criu fails.
>
> From dump log:
> (00.038399) Error (util.c:665): exited, status=2
> (00.038434) Error (netfilter.c:88): Iptables configuration failed: Success
>
> From docs: "invalid or abused command line parameters cause an exit code of
> 2"
>
> Tested with:
> iptables --version
> iptables v1.4.19.1
>
> So add kdat.has_xtlocks to mark if iptables has xtlocking.
> """
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
Thanks!
More information about the CRIU
mailing list