From 49b0c66b9f63b576de0d3b9543431f1e7c336565 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 11 Jul 2022 18:31:34 +0200 Subject: [system-tweaks] Prevent systemd-tmpfiles from wiping /tmp on boot --- core/modules/system-tweaks/data/etc/tmpfiles.d/tmp.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 core/modules/system-tweaks/data/etc/tmpfiles.d/tmp.conf (limited to 'core/modules/system-tweaks') diff --git a/core/modules/system-tweaks/data/etc/tmpfiles.d/tmp.conf b/core/modules/system-tweaks/data/etc/tmpfiles.d/tmp.conf new file mode 100644 index 00000000..365de1f7 --- /dev/null +++ b/core/modules/system-tweaks/data/etc/tmpfiles.d/tmp.conf @@ -0,0 +1,4 @@ +# Override the rule by systemd that wipes the entire /tmp dir +# We might have already put stuff there. + +d /tmp 1777 root root - -- cgit v1.2.3-55-g7522