Open quite opened 11 years ago
+1 from me
+1
if /var/tmp is deleted (they contents refered to pacaur) from reboot to reboot; then +1 else no fi
/var/tmp is used for preservable temporary files, so they are not deleted on reboot. Maybe packer should clear up these files anyway.
Maybe packer should clear up these files anyway.
+1 for this, I not want a 1G /var/tmp only containing remaments from packer builds
+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).
Perhaps /var/tmp should be used as default for temporary files now, as /tmp typically is in ram, and compilations may get rather big...