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?
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-devBest idea is to update rc.d/sshd to the version from -current.
On Sun, 16 Feb 2020, 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:BTW if you're running openssh-8.2 on OpenBSD <=6.6 in order to get FIDO/U2F support, you'll also probably want to import lib/libcbor and lib/libfido2 from -current, and *not* apply openbsd66_8.2.patch after extracting openssh-8.2.tar.gz. -d