1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-14 15:21:37 +03:00
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
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
Makefile
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
systemd.conf.m4 tmpfiles: use ACL magic on journal directories 2015-01-22 01:14:53 -05:00
tmp.conf
var.conf tmpfiles: automatically remove old machine snapshots at boot 2015-06-15 19:28:55 +02:00
x11.conf