mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
5360b10f29
To make it easy to have a workable ssh-generator on various distros, let's optionally generate the ssh privsep dir via tmpfiles.d/ drop-in. This enables the concept with a path of /run/sshd/ as default. This is the path Debian/Ubuntu uses, and means that we just work on those distros. Debian/Ubuntu is the only distro (apparently?) that puts the privsep dir under /run/, hence always needs the dir to be created manually. Other distros don't need it that much, because they place the dir in /usr/ (fedora, best choice!) or /var/ (others, not ideal, because still mutable). Also adds a longer explanation about this in NEWS, in the hope that distro maintaines read that and maybe start cleaning this up. Alternative to: #31543 |
||
---|---|---|
.. | ||
20-systemd-ssh-generator.conf.in | ||
20-systemd-userdb.conf.in | ||
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.