>
>
> Is there any other way to patch VM.js without the need to reboot the node?
>
>
Hi Stefan,

Yes, there is. Though as usual, I'd usually recommend rebooting as the
easier option wherever possible.

If you do want to mount over VM.js, you can copy the modified file
somewhere such as /tmp/.patches/VM.js and then lofs mount that over the
file in /usr with:

mount -O -F lofs /tmp/.patches/VM.js /usr/vm/node_modules/VM.js

and then restart vmadmd so that it's using the new version. I'd also
recommend setting it up such that if this server reboots for any reason it
gets a newer platform since this patch will only last until reboot.

Thanks,
Josh



-------------------------------------------
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

Reply via email to