summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-03-01 11:25:52 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-03 18:01:10 +0200
commit5360b10f29d72b6424cbaab7cb5d65cf95fcc828 (patch)
treee3a5976cc62d67d5f05ab4fd448fa3691430209d /meson_options.txt
parentMerge pull request #32065 from bluca/dlopen_debug (diff)
downloadsystemd-5360b10f29d72b6424cbaab7cb5d65cf95fcc828.tar.xz
systemd-5360b10f29d72b6424cbaab7cb5d65cf95fcc828.zip
ssh-generator: create privsep dir via tmpfiles.d/ if we are told to
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
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 3a3ab6e7c1..af9a006563 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -215,6 +215,8 @@ option('sshconfdir', type : 'string',
description : 'directory for SSH client configuration ["no" disables]')
option('sshdconfdir', type : 'string',
description : 'directory for SSH server configuration ["no" disables]')
+option('sshdprivsepdir', type : 'string',
+ description : 'directory for SSH privilege separation ["no" disables]', value : '/run/sshd')
option('libcryptsetup-plugins-dir', type : 'string',
description : 'directory for libcryptsetup plugins')
option('docdir', type : 'string',