summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-25 17:42:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-25 17:46:58 +0100
commite4ac004c12f9f45e8f2a222879dbf59a86dfcf7d (patch)
tree21ce60cb64877a0000decc3efb9c222c2989b264 /tmpfiles.d
parenttmpfiles: introduce type X (diff)
downloadsystemd-e4ac004c12f9f45e8f2a222879dbf59a86dfcf7d.tar.xz
systemd-e4ac004c12f9f45e8f2a222879dbf59a86dfcf7d.zip
tmpfiles: exclude /tmp/systemd-private-* from cleanup
See http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/6874/focus=6891 Should fix https://bugzilla.redhat.com/show_bug.cgi?id=866693
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/tmp.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf
index 1284fc4700..031770c04f 100644
--- a/tmpfiles.d/tmp.conf
+++ b/tmpfiles.d/tmp.conf
@@ -10,3 +10,6 @@
# Clear tmp directories separately, to make them easier to override
d /tmp 1777 root root 10d
d /var/tmp 1777 root root 30d
+
+# Exclude namespace mountpoints created with PrivateTmp=yes
+X /tmp/systemd-private-*