From efeb864cb547a2cbf96dc0053a8bdb4d9190b364 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:45 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- tmpfiles.d/20-systemd-ssh-generator.conf.in | 15 +++++++++++++++ tmpfiles.d/20-systemd-userdb.conf.in | 12 ++++++++++++ tmpfiles.d/meson.build | 2 ++ tmpfiles.d/systemd-network.conf | 6 +++--- 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 tmpfiles.d/20-systemd-ssh-generator.conf.in create mode 100644 tmpfiles.d/20-systemd-userdb.conf.in (limited to 'tmpfiles.d') diff --git a/tmpfiles.d/20-systemd-ssh-generator.conf.in b/tmpfiles.d/20-systemd-ssh-generator.conf.in new file mode 100644 index 0000000..dbe354a --- /dev/null +++ b/tmpfiles.d/20-systemd-ssh-generator.conf.in @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# See tmpfiles.d(5) for details + +{% if LINK_SSH_PROXY_DROPIN %} +L {{SSHCONFDIR}}/20-systemd-ssh-proxy.conf - - - - {{LIBEXECDIR}}/ssh_config.d/20-systemd-ssh-proxy.conf +{% endif %} +{% if CREATE_SSHDPRIVSEPDIR %} +d {{SSHDPRIVSEPDIR}} 0755 +{% endif %} diff --git a/tmpfiles.d/20-systemd-userdb.conf.in b/tmpfiles.d/20-systemd-userdb.conf.in new file mode 100644 index 0000000..c344c1b --- /dev/null +++ b/tmpfiles.d/20-systemd-userdb.conf.in @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# 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 %} diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build index 4c11ad6..bec24ac 100644 --- a/tmpfiles.d/meson.build +++ b/tmpfiles.d/meson.build @@ -34,6 +34,8 @@ in_files = [['etc.conf', ''], ['static-nodes-permissions.conf', ''], ['systemd.conf', ''], ['var.conf', ''], + ['20-systemd-userdb.conf', 'ENABLE_SSH_USERDB_CONFIG'], + ['20-systemd-ssh-generator.conf', 'ENABLE_SSH_PROXY_CONFIG'], ] foreach pair : in_files diff --git a/tmpfiles.d/systemd-network.conf b/tmpfiles.d/systemd-network.conf index b30bc91..323beca 100644 --- a/tmpfiles.d/systemd-network.conf +++ b/tmpfiles.d/systemd-network.conf @@ -7,7 +7,7 @@ # See tmpfiles.d(5) for details -d /run/systemd/netif 0755 systemd-network systemd-network - -d /run/systemd/netif/links 0755 systemd-network systemd-network - +d /run/systemd/netif 0755 systemd-network systemd-network - +d /run/systemd/netif/links 0755 systemd-network systemd-network - d /run/systemd/netif/leases 0755 systemd-network systemd-network - -d /run/systemd/netif/lldp 0755 systemd-network systemd-network - +d /var/lib/systemd/network 0755 systemd-network systemd-network - -- cgit v1.2.3