summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-05-24 15:38:13 +0200
committerFranck Bui <fbui@suse.com>2024-05-27 17:20:55 +0200
commit50d80ec5aced978ed2e41b437ef85b186f020bba (patch)
tree443197f559955ccb94b0c9ea0f6d3e715c27d0b5 /tmpfiles.d
parentmeson: don't put a symlink pointing to '20-systemd-ssh-proxy.conf' in /etc in... (diff)
downloadsystemd-50d80ec5aced978ed2e41b437ef85b186f020bba.tar.xz
systemd-50d80ec5aced978ed2e41b437ef85b186f020bba.zip
meson: don't put a symlink pointing to '20-systemd-userdb.conf' in /etc in all cases
It's only needed on distros where sshd doesn't support drop-ins in /usr, which is not the case on SUSE.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/20-systemd-userdb.conf.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpfiles.d/20-systemd-userdb.conf.in b/tmpfiles.d/20-systemd-userdb.conf.in
index 1ef7a9e8bc..c344c1b9e7 100644
--- a/tmpfiles.d/20-systemd-userdb.conf.in
+++ b/tmpfiles.d/20-systemd-userdb.conf.in
@@ -7,4 +7,6 @@
# See tmpfiles.d(5) for details
+{% if LINK_SSHD_USERDB_DROPIN %}
L {{SSHDCONFDIR}}/20-systemd-userdb.conf - - - - {{LIBEXECDIR}}/sshd_config.d/20-systemd-userdb.conf
+{% endif %}