Systemd/tmpfiles.d
Lennart Poettering 770b5ce4fc tmpfiles: automatically remove old machine snapshots at boot
Remove old temporary snapshots, but only at boot. Ideally we'd have
"self-destroying" btrfs snapshots that go away if the last last
reference to it does. To mimic a scheme like this at least remove the
old snapshots on fresh boots, where we know they cannot be referenced
anymore. Note that we actually remove all temporary files in
/var/lib/machines/ at boot, which should be safe since the directory has
defined semantics. In the root directory (where systemd-nspawn
--ephemeral places snapshots) we are more strict, to avoid removing
unrelated temporary files.

This also splits out nspawn/container related tmpfiles bits into a new
tmpfiles snippet to systemd-nspawn.conf
2015-06-15 19:28:55 +02:00
..
.gitignore build-sys: configure the list of system users, files and directories 2014-11-30 23:50:19 -05:00
Makefile journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
etc.conf.m4 tmpfiles: create /etc/resolv.conf symlink only on boot 2015-05-21 14:23:09 -04:00
home.conf tmpfiles: make /home and /var btrfs subvolumes by default when booted up with them missing 2015-04-21 17:43:55 +02:00
journal-nocow.conf tmpfiles: Add +C attrib to the journal files directories 2015-04-13 16:37:52 +02:00
legacy.conf tmpfiles: Fix comment typo 2015-06-01 09:27:47 +01:00
systemd-nologin.conf tmpfiles: there's no systemd-forbid-user-logins.service service 2015-04-21 17:43:55 +02:00
systemd-nspawn.conf tmpfiles: automatically remove old machine snapshots at boot 2015-06-15 19:28:55 +02:00
systemd-remote.conf journal-remote: add units and read certs from default locations 2014-07-15 22:23:49 -04:00
systemd.conf.m4 tmpfiles: use ACL magic on journal directories 2015-01-22 01:14:53 -05:00
tmp.conf tmpfiles.d: upgrade a couple of directories we create at boot to subvolumes 2014-12-28 02:08:40 +01:00
var.conf tmpfiles: automatically remove old machine snapshots at boot 2015-06-15 19:28:55 +02:00
x11.conf tmpfiles: introduce the concept of unsafe operations 2013-12-24 15:48:06 -05:00