From 633a41eb248fc1223755d4d5b96229148e52a4a2d0b86e9d6a15bea8e05e09ac Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Fri, 25 Sep 2020 19:42:09 +0000 Subject: [PATCH] Accepting request 837497 from home:dimstar:Factory - 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. OBS-URL: https://build.opensuse.org/request/show/837497 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=215 --- openssh.changes | 10 ++++++++++ openssh.spec | 5 +---- 2 files changed, 11 insertions(+), 4 deletions(-) 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