openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #14022
Re: How do I stop image-create from using /tmp?
On 07/02/2012 01:32 PM, Mark Lehrer wrote:
>> just did an "ln -s /some/dir/with/space /tmp" and that does solve
>
> I added an option to /etc/init/nova_compute.conf to specify the tmp
> space, so the start line looks like this:
>
> exec su -s /bin/sh -c "export TMPDIR=/var/tmp; exec nova-compute
> --flagfile ........
>
> Not a great solution either since package updates over-write this setting.
Yeah, that's exactly what we found as well -- Chef would overwrite the
upstart script, and we couldn't for the life of us figure out how to get
Chef to set the TMPDIR environment variable for *user running nova-compute*.
Best,
-jay
Follow ups
References