Skip to content

Commit

Permalink
Revert "[DEB] Bring tmpfiles.d/tmp.conf in line with Debian defaults"
Browse files Browse the repository at this point in the history
This reverts commit f3a8328.

Debian's policy is to never clean-up /var/tmp to keep consistency with
the SysV init system. Flatpak creates temporary files in /var/tmp during
app updates but does not remove them on error, to avoid re-downloading
them on a future update attempt, and expects these files to be
automatically cleaned-up by the system eventually, according to the
site's policy. With this policy in place these files are never removed,
wasting the user's storage space.

Revert this commit back to upstream's default policy of cleaning up /tmp
every 10 days and /var/tmp every 30 days.

https://phabricator.endlessm.com/T23762
https://phabricator.endlessm.com/T33887
  • Loading branch information
starnight committed Mar 19, 2024
1 parent 2f1126b commit 8b89923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmpfiles.d/tmp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# See tmpfiles.d(5) for details

# Clear tmp directories separately, to make them easier to override
D /tmp 1777 root root -
#q /var/tmp 1777 root root 30d
q /tmp 1777 root root 10d
q /var/tmp 1777 root root 30d

0 comments on commit 8b89923

Please sign in to comment.