From 814f000872fc2d254250831607bdca9b27e5705e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 27 Dec 2014 18:47:17 +0100 Subject: [PATCH] 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. --- tmpfiles.d/tmp.conf | 4 ++-- tmpfiles.d/var.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf index b80dab4db..ffdd82fd9 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 d9545fe85..d0c759e0f 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 - - - -- 2.30.2