forked from pool/systemd
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 87267de89ddce9b1b812b720e1fc9a6cb554236e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Date: Sat, 16 Nov 2013 17:29:28 -0500
|
|
Subject: [PATCH] tmpfiles: adjust excludes for the new per-service private
|
|
dirs
|
|
|
|
In d8c9d3a (systemd: use unit name in PrivateTmp directories)
|
|
I forgot to update the tmpfiles config.
|
|
---
|
|
tmpfiles.d/tmp.conf | 17 +++++++++++++++++
|
|
1 file changed, 17 insertions(+)
|
|
|
|
diff --git tmpfiles.d/tmp.conf tmpfiles.d/tmp.conf
|
|
index 3b534a1..f0312ef 100644
|
|
--- tmpfiles.d/tmp.conf
|
|
+++ tmpfiles.d/tmp.conf
|
|
@@ -12,6 +12,23 @@ d /tmp 1777 root root 10d
|
|
d /var/tmp 1777 root root -
|
|
|
|
# Exclude namespace mountpoints created with PrivateTmp=yes
|
|
+x /tmp/systemd-*.service-*
|
|
+x /var/tmp/systemd-*.service-*
|
|
+X /tmp/systemd-*.service-*/tmp
|
|
+X /var/tmp/systemd-*.service-*/tmp
|
|
+x /tmp/systemd-*.socket-*
|
|
+x /var/tmp/systemd-*.socket-*
|
|
+X /tmp/systemd-*.socket-*/tmp
|
|
+X /var/tmp/systemd-*.socket-*/tmp
|
|
+x /tmp/systemd-*.mount-*
|
|
+x /var/tmp/systemd-*.mount-*
|
|
+X /tmp/systemd-*.mount-*/tmp
|
|
+X /var/tmp/systemd-*.mount-*/tmp
|
|
+x /tmp/systemd-*.swap-*
|
|
+x /var/tmp/systemd-*.swap-*
|
|
+X /tmp/systemd-*.swap-*/tmp
|
|
+X /var/tmp/systemd-*.swap-*/tmp
|
|
+# keep those for compatibility during upgrades
|
|
x /tmp/systemd-private-*
|
|
x /var/tmp/systemd-private-*
|
|
X /tmp/systemd-private-*/tmp
|
|
--
|
|
1.7.9.2
|
|
|