[CRIU] [PATCHv2 3/6] util: Enable hostname resolution of tcp address

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Sep 5 00:18:30 MSK 2018


Hi Adrian,

On 04/09/18 09:20, Adrian Reber wrote:
> I like this change as I often used a hostname with '--address' to only
> find out that it has to be an IP address.
>
> Looking at travis I see, however, errors which might be related to this
> change (https://api.travis-ci.org/v3/job/424078990/log.txt):
>
> (00.019563) uffd: 36-7: Found 16 VMAs in image
> (00.019579) uffd: 36-7: Found 6 pages to be handled by UFFD
> (00.019595) Error (criu/util.c:1402): Failed to resolve hostname: (null): No such file or directory

Thank you for the code review and that you point out the 'failed to
resolve hostname' issue.
It looks like in zdtm.py when the --remote-lazy-pages option is
specified, only --port (12345) is being set, and --address was omitted.
This is causing the failure. I will resend the patch series with this fixed.

Radostin


More information about the CRIU mailing list