From: Lennart Poettering Date: Sat, 27 Dec 2014 17:47:17 +0000 (+0100) Subject: tmpfiles.d: upgrade a couple of directories we create at boot to subvolumes X-Git-Tag: v219~786 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=814f000872fc2d254250831607bdca9b27e5705e 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. --- 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 - - -