forked from pool/openssh
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
This commit is contained in:
parent
bda5168147
commit
633a41eb24
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 25 13:40:51 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user