Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgdiff-mg: use /var/tmp instead of /tmp as default TMPDIR #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 13, 2024

  1. pkgdiff-mg: under systemd use /var/tmp as default TMPDIR

    pkgdiff can cause large files in the used temprorary directory that
    are not cleaned up on exit. Using /tmp for those, which is often a
    tmpfs, which means that the files consume main memory at first. Later
    the system may move the unused files on the tmpfs into swap.
    
    Under systemd, using /var/tmp for files that are not deleted by the
    creator, which is pkgdiff-mg in our case, is safe, since systemd will
    automatically delete old unused files from /var/tmp.
    
    Signed-off-by: Florian Schmaus <[email protected]>
    Flowdalic committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    9681cd4 View commit details
    Browse the repository at this point in the history