From owner-freebsd-jail@freebsd.org Tue Sep 6 13:08:27 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35B83B96D1F; Tue, 6 Sep 2016 13:08:27 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6D39D03; Tue, 6 Sep 2016 13:08:26 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (ip-109-84-3-81.web.vodafone.de [109.84.3.81]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id u86D8OvF055819 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 6 Sep 2016 13:08:24 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host ip-109-84-3-81.web.vodafone.de [109.84.3.81] claimed to be ultrabook.yoonka.com Subject: Re: timerfd in FreeBSD jail? To: James Gritton References: <7c43d0f1052c93b1e074c4dd2ee8340d@gritton.org> Cc: freebsd-jail@freebsd.org, owner-freebsd-jail@freebsd.org From: Grzegorz Junka Message-ID: Date: Tue, 6 Sep 2016 13:08:18 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <7c43d0f1052c93b1e074c4dd2ee8340d@gritton.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 13:08:27 -0000 On 06/09/2016 12:49, James Gritton wrote: > On 2016-09-06 05:38, Grzegorz Junka wrote: >> I am trying to compile dart-sdk in Centos 6 that's running in a >> FreeBSD jail. I am getting the following error: >> >> runtime/bin/eventhandler_linux.cc:114: error: Failed creating timerfd >> file descriptor: 38 >> >> Is this a limitation of the jail or I need to enable something to have >> it available? > > No idea, given that error message and unfamiliarity with the source. > Is there a linux system call or at least library function you can > narrow it down to? > > - Jamie Yes, this is when compiling sipxecs https://github.com/sipXcom/sipxecs, which uses the dart-sdk package (dart_1.9.1-1_amd64.deb). The dart-sdk has been installed as instructed in this email (by unpacking a .deb): https://groups.google.com/forum/#!msg/sipxcom-dev/EeRsfbh32CA/QXalcr0S2p4J And the actual file with the error is here (probably not the same version): https://github.com/dart-lang/sdk/blob/master/runtime/bin/eventhandler_linux.cc#L114 So, the linux call would be timerfd_create Grzegorz