[lttng-dev] lttng-ust installs stuff in /tmp
Alexandre Montplaisir
alexandre.montplaisir at polymtl.ca
Fri Jan 6 10:36:49 EST 2012
On 12-01-06 10:26 AM, Mathieu Desnoyers wrote:
> * Sébastien Barthélémy (barthelemy at crans.org) wrote:
>> Hello Alexandre,
>>
>> 2012/1/6 Alexandre Montplaisir<alexandre.montplaisir at polymtl.ca>:
>>> [...]
>>> Another solution would have been to "install" those .so's in the source
>>> directory itself. But then when running "sudo make install", that would
>>> create extra files in the source directory owned by root. So in the end
>>> those were diverted to /tmp, waiting to be cleaned up next reboot.
>> thank you for the explanation.
>>
>> Alas, this workaround has an annoying side effect here: installing the package
>> (tar xpf) changes the permissions of /tmp, which has a lot of annoying side
>> effects;).
>>
>>> If anyone knows a better solution please let us know ;)
>> ... sorry
> Until we find a better solution, we might want to document that the
> installed content under /tmp should be discarded manually ? Other ideas ?
We could always go back to installing those .so's in ${srcdir}. If the
user has root permissions to install system-wide, he should be able to
clean up the directory afterward if needed.
>
> Thanks,
>
> Mathieu
>
More information about the lttng-dev
mailing list