Re: OpenBSD+OpenSSH_8.2: rc_check/reload/stop fail

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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@xxxxxxxxxxx
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

Best idea is to update rc.d/sshd to the version from -current.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux