<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma,Verdana,sans-serif} .MsoNormal{line-height:120%;margin:0}</style></head><body>
Stanislav,<div><br></div><div>Yes I did use that to get it going but then found that only worked as root.</div><div><br></div><div>Also, I know for myself, who was in control of the global zone, that this was a workaround but it was quickly pointed out to me by community members that this is just a workaround as those just using for example Joyent cloud or any zone other than on their own server would probably never be given access to the high res clock.</div><div><br></div><div>Regards</div><div>Darren<br><blockquote style="padding-left: 5px; margin-left: 5px; border-left: #0000ff 2px solid; margin-right: 0px"><hr><b>From:</b> Stanislav Sinyagin [mailto:ssinyagin@gmail.com]<br><b>To:</b> FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]<br><b>Sent:</b> Tue, 08 Sep 2015 16:49:01 +0000<br><b>Subject:</b> Re: [Freeswitch-users] Compiling under SmartOS<br><br>phew, it started finally.<br>
<br>
The correct string is "limit_priv": "default,proc_clock_highres"<br>
<br>
After vmadm update, you need to reboot the zone, in order for new<br>
permissions to propagate to its processes.<br>
<br>
<br>
<br>
<br>
On Tue, Sep 8, 2015 at 5:38 PM, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>> wrote:<br>
> no, my bad, it's still failing on the timer. I'll spend some time on<br>
> it. Feel free to contact me directly on skype or google hangouts or<br>
> telegram<br>
><br>
> On Tue, Sep 8, 2015 at 5:27 PM, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>> wrote:<br>
>> actually the answer about the timer was given in that same chat where<br>
>> you took part:<br>
>> <a href="http://echelog.com/logs/browse/smartos/1438293600" target="_blank">http://echelog.com/logs/browse/smartos/1438293600</a><br>
>><br>
>> I added the following line to the VM manifest json, and then did "vmadm update":<br>
>><br>
>> "limit_priv": "default,-proc_clock_highres"<br>
>><br>
>> Now it doesn't complain about the timer. But the master branch still<br>
>> coredumps for some other reason :)<br>
>><br>
>><br>
>><br>
>><br>
>> On Tue, Sep 8, 2015 at 3:42 PM, Support <<a href="mailto:support@directvoip.co.uk">support@directvoip.co.uk</a>> wrote:<br>
>>> Stanislav,<br>
>>><br>
>>> I cannot help with this, my skills don't reach that far but I can point you<br>
>>> in the right direction.<br>
>>><br>
>>> I had the same problem and it seems to be related to something called<br>
>>> timerfd. Using the ppriv command you can see freeswitch is wanting access to<br>
>>> the high res clock, something not available to smartos zones with the<br>
>>> default privileges.<br>
>>><br>
>>> I did manage to mess with the smartos privileges and get it to run at one<br>
>>> time but it was only when running as root.<br>
>>><br>
>>> If you actually used an older version of smartos, I think the one I used is<br>
>>> dated around january this year, then it will compile fine and use some sort<br>
>>> of other timing method.<br>
>>><br>
>>> This timerfd thing, thing relates to freeswitch finding a file called<br>
>>> timerfd.h that didn't appear in smartos zones until about march this year,<br>
>>> something to do with lx brand I think.<br>
>>><br>
>>> I have just looked and the smartos version that will compile is<br>
>>> 20150108T111855Z, obviously it would be better on the newer.<br>
>>><br>
>>> Compiling on the above smartos version and then running it on newer is no<br>
>>> problem which is what I ended up doing.<br>
>>><br>
>>> Hope this helps<br>
>>><br>
>>> Regards<br>
>>> Darren<br>
>>><br>
>>> ________________________________<br>
>>> From: Stanislav Sinyagin [mailto:<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>]<br>
>>> To: FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>]<br>
>>> Sent: Tue, 08 Sep 2015 07:55:37 +0000<br>
>>> Subject: Re: [Freeswitch-users] Compiling under SmartOS<br>
>>><br>
>>><br>
>>> See the update at <a href="https://freeswitch.org/jira/browse/FS-7967" target="_blank">https://freeswitch.org/jira/browse/FS-7967</a><br>
>>><br>
>>> I fixed the compilation problems, and now there's a runtime issue.<br>
>>><br>
>>> On Mon, Aug 17, 2015 at 10:40 AM, Stanislav Sinyagin<br>
>>> <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>> wrote:<br>
>>>> I see there are some people on the list, working with SmartOS.<br>
>>>><br>
>>>> The current master fails to compile:<br>
>>>> <a href="https://freeswitch.org/jira/browse/FS-7967" target="_blank">https://freeswitch.org/jira/browse/FS-7967</a><br>
>>>><br>
>>>> Your input will be appreciated.<br>
>>>><br>
>>>> I just started looking around and getting the feeling what SmartOS is.<br>
>>>> I worked with Solaris quite a lot, but that was almost 10 years ago.<br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote><style>
</style>
</div></body></html>