Skip to content

Commit 8b89923

Browse files
committed
Revert "[DEB] Bring tmpfiles.d/tmp.conf in line with Debian defaults"
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
1 parent 2f1126b commit 8b89923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmpfiles.d/tmp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
# See tmpfiles.d(5) for details
99

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

0 commit comments

Comments
 (0)