Description
Currently the containerbase tmp dir is /tmp/containerbase
.
This affects execution duration for micro vms that use a rootfs based on containerbase and run Renovate, as this directory is deleted at boot time.
As per the Linux Foundation: Filesystem Hierarchy Standard
:
Although data stored in /tmp may be deleted in a site-specific manner, it is recommended that files and directories located in /tmp be deleted whenever the system is booted.1
A suggested alternative location could be /var/tmp
as it is preserved between boots.
The /var/tmp directory is made available for programs that require temporary files or directories that are preserved between system reboots. Therefore, data stored in /var/tmp is more persistent than data in /tmp.2
This change alone will improve boot timesruntime duration by half a second per Renovate job. given the daily throughput, this improvement adds up significantly.