[Swan] unknown clock_gettime() error: -1

Paul Wouters paul at nohats.ca
Thu Feb 16 18:11:16 UTC 2017


On Thu, 16 Feb 2017, csszep wrote:

> I see tons of unknown clock_gettime() error: -1 imessage in the log.
> 
> I think, it is related to the following check (i'm not a c guru) in /programs/pluto/defs.c

>         case EINVAL:
>                 libreswan_log("Invalid clock method for clock_gettime() - possibly compiled with
> mismatched kernel and glibc-headers ");

> When i replace the entire check, with a fixed CLOCK_MONOTONIC (i have a 2.6.32.70 kernel so
> CLOCK_BOOTIME not exist) i dont see more "-1" messages in the log or strace.

Have you looked into the problem that you indeed might have a mismatched
kernel and glibc-headers ?

Paul


More information about the Swan mailing list