OpenBSD+OpenSSH_8.2: rc_check/reload/stop fail
Stuart Henderson
stu at spacehopper.org
Mon Feb 17 02:22:28 AEDT 2020
On 2020/02/16 15:39, Matthias wrote:
> With version 8.2 on OpenBSD, in order to get rc_check/reload/stop
> working again, I needed to remove the '-x' option from the corresponding
> functions in /etc/rc.d/sshd:
>
> rc_reload() {
> ${daemon} ${daemon_flags} -t && pkill -HUP -f "${pexp}"
> }
>
> rc_check() {
> pgrep -T "${daemon_rtable}" -q -f "${pexp}"
> }
>
> rc_stop() {
> pkill -T "${daemon_rtable}" -f "/usr/sbin/sshd"
> }
>
> Any better ideas?
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Best idea is to update rc.d/sshd to the version from -current.
More information about the openssh-unix-dev
mailing list