[Piuparts-devel] tmpdir defaults

Andreas Beckmann debian at abeckmann.de
Mon Jun 25 12:25:54 UTC 2012


On 2012-06-25 14:03, Dave Steele wrote:
> Not sure why the deterministic name is a problem.

eve$ ln -s /etc /var/tmp/piuparts
what will the cleanup cronjob do upon next reboot?
and other reasons for mkstemp ...

> How about /var/tmp/piuparts/<n> or /var/tmp/piuparts-slave<n>?
> $tmpdir/piuparts-slave<n>?

There is no reason not to share the tempdir between slaves.
We must behave sane with tmpdir=/tmp or tmpdir=/var/tmp
While the recommended approach should be a separate tmpdir for piuparts
(where a subdir in a publically writeable directory would still be risky
...)


Andreas



More information about the Piuparts-devel mailing list