diff --git a/openssh.changes b/openssh.changes index d949009..4511472 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Sep 25 13:40:51 UTC 2020 - Dominique Leuenberger + +- Fix fillup-template usage: + + %post server needs to reference ssh (not sshd), which matches + the sysconfig.ssh file name the package ships. + + %post client does not need any fillup_ calls, as there is no + client-relevant sysconfig file present. The naming of the + sysconfig file (ssh instead of sshd) is unfortunate. + ------------------------------------------------------------------- Thu Sep 17 20:41:39 UTC 2020 - Jan Engelhardt diff --git a/openssh.spec b/openssh.spec index 04fcf21..140a4ca 100644 --- a/openssh.spec +++ b/openssh.spec @@ -336,13 +336,10 @@ getent passwd sshd >/dev/null || %{_sbindir}/useradd -r -g sshd -d %{_localstate %service_add_pre sshd.service %post server -%{fillup_only -n sshd} +%{fillup_only -n ssh} %service_add_post sshd.service %set_permissions %{_sysconfdir}/ssh/sshd_config -%post clients -%{fillup_only -n ssh} - %preun server %service_del_preun sshd.service