summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-27 18:47:17 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-28 02:08:40 +0100
commit814f000872fc2d254250831607bdca9b27e5705e (patch)
tree224a469a24e22c354d1fff561fcfa1d4002ee408 /tmpfiles.d
parentd7b8eec7dc7fe307d3a08b32cf1a9ad4276ce6d5 (diff)
downloadsystemd-814f000872fc2d254250831607bdca9b27e5705e.tar.gz
tmpfiles.d: upgrade a couple of directories we create at boot to subvolumes
In particular we upgrade /var/lib/container, /var/tmp and /tmp to subvolumes.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/tmp.conf4
-rw-r--r--tmpfiles.d/var.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf
index b80dab4dbf..ffdd82fd9c 100644
--- a/tmpfiles.d/tmp.conf
+++ b/tmpfiles.d/tmp.conf
@@ -8,8 +8,8 @@
# See tmpfiles.d(5) for details
# Clear tmp directories separately, to make them easier to override
-d /tmp 1777 root root 10d
-d /var/tmp 1777 root root 30d
+v /tmp 1777 root root 10d
+v /var/tmp 1777 root root 30d
# Exclude namespace mountpoints created with PrivateTmp=yes
x /tmp/systemd-private-%b-*
diff --git a/tmpfiles.d/var.conf b/tmpfiles.d/var.conf
index d9545fe85c..d0c759e0fc 100644
--- a/tmpfiles.d/var.conf
+++ b/tmpfiles.d/var.conf
@@ -18,6 +18,6 @@ f /var/log/btmp 0600 root utmp -
d /var/cache 0755 - - -
d /var/lib 0755 - - -
-d /var/lib/container 0700 - - -
+v /var/lib/container 0700 - - -
d /var/spool 0755 - - -