packer icon indicating copy to clipboard operation
packer copied to clipboard

/var/tmp ?

Open quite opened this issue 13 years ago • 6 comments

Perhaps /var/tmp should be used as default for temporary files now, as /tmp typically is in ram, and compilations may get rather big...

quite avatar Feb 15 '13 07:02 quite

+1 from me

mloskot avatar Feb 15 '13 11:02 mloskot

+1

benruijl avatar Mar 13 '13 16:03 benruijl

if /var/tmp is deleted (they contents refered to pacaur) from reboot to reboot; then +1 else no fi

JotaRandom avatar Mar 13 '13 17:03 JotaRandom

/var/tmp is used for preservable temporary files, so they are not deleted on reboot. Maybe packer should clear up these files anyway.

benruijl avatar Mar 18 '13 13:03 benruijl

Maybe packer should clear up these files anyway.

+1 for this, I not want a 1G /var/tmp only containing remaments from packer builds

JotaRandom avatar Mar 19 '13 01:03 JotaRandom

+1 Even if I'm not particularly fan of /tmp mapped into RAM/swap, I'd rather see packer using /var/tmp instead of /tmp. Btw note the default policy defined in /usr/lib/tmpfiles.d/tmp.conf. As for the cleanup @benruijl mentioned above, I'd suggest introducing another option --no-cleanup while cleaning the /var/tmp by default after running packer (disregarding if it failed or not).

dumblob avatar Dec 27 '13 22:12 dumblob