[one-users] SCRIPTS_REMOTE_DIR in Ubuntu ONE 2.0 binary

Tiago Batista tiagosbatista at gmail.com
Thu Oct 28 07:09:16 PDT 2010


I am stumped... You can always modify the line

@remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one'

on the mads, but that is not what should be done.

In fact your oned is behaving as if the variable is not set on
/etc/oned.conf (I am assuming a system wide install).




On Thu, Oct 28, 2010 at 2:57 PM, Oscar Elfving <sofam84 at gmail.com> wrote:
> Sadly this does nothing, still creates the files under /tmp/one.
> /Oscar
>
> On Thu, Oct 28, 2010 at 3:50 PM, Jhon Masschelein <Jhon.Masschelein at sara.nl>
> wrote:
>>
>> Hi,
>>
>> Not sure if this will help but I read somewhere in the doc that the remote
>> scripts are only copied out when their timestamps have changed. (i guess to
>> reduce the overhead of copying files.)
>>
>> I'm still running an older beta version, but just try and touch the files
>> under /usr/lib/one and see if that does the trick?
>>
>> Wkr,
>>
>> Jhon
>>
>> On 10/28/2010 03:46 PM, Oscar Elfving wrote:
>>
>> So, where do I start debugging this? As far as I can tell
>> the /usr/lib/one/mads/one_im_ssh.rb and /usr/lib/one/mads/one_vmm_ssh.rb
>> scripts are the only ones using the variable but I am unsure how to actually
>> verify that it is getting the variable or not as it says in the
>> file: @remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one'.
>> Any other ideas?
>> Best regards,
>> Oscar Elfving
>> On Thu, Oct 28, 2010 at 3:37 PM, Tiago Batista <tiagosbatista at gmail.com>
>> wrote:
>>>
>>> I know it sounded stupid, but I was bitten by this more than once...
>>>
>>> As far as I can tell you are doing the right thing, my installation is
>>> on the user-dir, other than that I use the same procedure!
>>>
>>>
>>> On Thu, Oct 28, 2010 at 2:21 PM, Oscar Elfving <sofam84 at gmail.com> wrote:
>>> > Yes I restarted it, the /var/lib/one/config is reflecting the change as
>>> > well. And just to make sure, a restart is "one stop; one start" right?
>>> > Best regards,
>>> > Oscar Elfving
>>> >
>>> > On Thu, Oct 28, 2010 at 3:14 PM, Tiago Batista
>>> > <tiagosbatista at gmail.com>
>>> > wrote:
>>> >>
>>> >> In my case, the most common explanation for this is the lack of a
>>> >> process restart... Did you stop and restart oned?
>>> >>
>>> >>
>>> >> On Thu, Oct 28, 2010 at 2:08 PM, Oscar Elfving <sofam84 at gmail.com>
>>> >> wrote:
>>> >> > Hi,
>>> >> > I have a problem right now where no matter what I
>>> >> > set SCRIPTS_REMOTE_DIR
>>> >> > in
>>> >> > /etc/one/oned.conf when I add a host it still puts all the related
>>> >> > scripts
>>> >> > in /tmp/one. This is undesirable since this purges the scripts at
>>> >> > every
>>> >> > reboot and I would like to set the location myself.
>>> >> > Any pointers to why I might be experiencing this problem?
>>> >> > Best regards,
>>> >> > Oscar Elfving
>>> >> > _______________________________________________
>>> >> > Users mailing list
>>> >> > Users at lists.opennebula.org
>>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> >> >
>>> >> >
>>> >
>>> >
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list