Quoting Daniel Molina ([email protected]):
 
> 
> Could you try exporting the $TMPDIR var before starting the passenger
> processes?
> 
> This is the code that generates the temp file (sunstone-server.rb):
>         tmpfile = Tempfile.open('sunstone-upload')
> 
> by default, it uses Dir.tmpdir as temp dir and this method checks the env
> var TMPDIR.  This variable is defined in the sunstone-server script, but
> Apache do not use this script to start new server instances
> 
> You can also specify it as a parameter in the code:
>         tmpfile = Tempfile.open('sunstone-upload', '/mnt/sunstone_upload')

Hmm, in opennebula 4.3.90 this isn't working anymore. I have the tmpfile
hardcoded in sunstone-server.rb.

I also tried exporting the TMPDIR in /etc/apache/envvars, /etc/bash.bashrc and 
in
the ruby script itself: 

ENV['TMPDIR'] = '/mnt/sunstone_upload (and in config.ru)

but without any effect. What changes have been made that defeat above
settings?

Thanks,

Stefan





-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to