That's a very interesting one! Compiled it up on SmartOS and unfortunately core dumps. I am going to try it on a Linux box to verify whether it will work for our applications (tomcat, nginx, php-fpm).
If it fails then I will try to set up a separate SmartOS box just for the time related tests... Thanks heaps! P On Fri, Mar 20, 2015 at 9:02 AM, Scott McWhirter < [email protected]> wrote: > There's also libfaketime, if it's just for a few processes. > > On Thu, Mar 19, 2015 at 12:59 PM, Peter Toth via smartos-discuss < > [email protected]> wrote: > >> Thanks Garrett, yes it needs to be a totally different time and SmartOS >> operating system. >> Seems that my only option is to build a KVM SmartOS machine (SmartOS >> inside SmartOS KVM). >> >> On Fri, Mar 20, 2015 at 8:47 AM, Garrett D'Amore <[email protected]> >> wrote: >> >>> You can change the timezone (offset) but the global clock can only be >>> changed in the global zone. >>> >>> If you have some particular need to run in a totally different time you >>> can use kvm. The clock will still tick in synch with the global zone but >>> you can set any base time you like. This cannot be done in a native zone. >>> >>> Sent from my iPhone >>> >>> On Mar 19, 2015, at 12:39 PM, Peter Toth via smartos-discuss < >>> [email protected]> wrote: >>> >>> Hi all, >>> >>> Is anyone aware of any method to fake/change time in a SmartOS zone >>> (non-global zone)? >>> >>> Thanks >>> P >>> *smartos-discuss* | Archives >>> <https://www.listbox.com/member/archive/184463/=now> >>> <https://www.listbox.com/member/archive/rss/184463/22103350-51080293> | >>> Modify <https://www.listbox.com/member/?&> Your Subscription >>> <http://www.listbox.com> >>> >>> >> *smartos-discuss* | Archives >> <https://www.listbox.com/member/archive/184463/=now> >> <https://www.listbox.com/member/archive/rss/184463/22984186-fca9c571> | >> Modify >> <https://www.listbox.com/member/?&> >> Your Subscription <http://www.listbox.com> >> > > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
