[Swan] unknown clock_gettime() error: -1

csszep csszep at gmail.com
Fri Feb 17 09:16:23 UTC 2017


Hmm, i'm runnning Libreswan in a Ubuntu 14.04 chroot environment in Ubuntu
10.04 host /w klips (yes i know) . Maybe this is the source of a problem..


2017-02-16 19:11 GMT+01:00 Paul Wouters <paul at nohats.ca>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20170217/7dedeb8f/attachment.html>


More information about the Swan mailing list