From 38291e13c1dec15618b7d09e4217d10076897cdf Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Aug 20 2024 16:42:34 +0000 Subject: Disable integration of userdb in sshd --- diff --git a/systemd.spec b/systemd.spec index 63d5c95..8f88804 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1005,6 +1005,13 @@ mv -v %{buildroot}/usr/sbin/* %{buildroot}%{_bindir}/ rm %{buildroot}/usr/lib/sysusers.d/basic.conf %endif +# Disable sshd_config.d/20-systemd-userdb.conf for now. +# This option may override an existing AuthorizedKeysCommand setting +# (or be ineffective, depending on the order of configuration). +# See https://github.com/systemd/systemd/issues/33648. +rm %{buildroot}/etc/ssh/sshd_config.d/20-systemd-userdb.conf +mv %{buildroot}/usr/lib/tmpfiles.d/20-systemd-userdb.conf{,.example} + %find_lang %{name} # Split files in build root into rpms