mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
9c0c670125
This setting allows services to run in an ephemeral copy of the root directory or root image. To make sure the ephemeral copies are always cleaned up, we add a tmpfiles snippet to unconditionally clean up /var/lib/systemd/ephemeral. To prevent in use ephemeral copies from being cleaned up by tmpfiles, we use the newly added COPY_LOCK_BSD and BTRFS_SNAPSHOT_LOCK_BSD flags to take a BSD lock on the ephemeral copies which instruct tmpfiles to not touch those ephemeral copies as long as the BSD lock is held. |
||
---|---|---|
.. | ||
credstore.conf | ||
etc.conf.in | ||
home.conf | ||
journal-nocow.conf | ||
legacy.conf.in | ||
meson.build | ||
portables.conf | ||
provision.conf | ||
README | ||
static-nodes-permissions.conf.in | ||
systemd-network.conf | ||
systemd-nologin.conf | ||
systemd-nspawn.conf | ||
systemd-pstore.conf | ||
systemd-resolve.conf | ||
systemd-tmp.conf | ||
systemd.conf.in | ||
tmp.conf | ||
var.conf.in | ||
x11.conf |
Files in this directory contain configuration for systemd-tmpfiles, a program to create, delete, and clean up volatile and temporary files and directories. See man:tmpfiles.d(5) for explanation of the configuration file format, and man:systemd-tmpfiles(8) for a description of when and how this configuration is applied. Use 'systemd-analyze cat-config tmpfiles.d' to display the effective config.