Date: Sun, 12 Feb 2006 10:57:30 +0100 (CET) From: Oliver Lehmann <oliver@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Lehmann <oliver@FreeBSD.org> Subject: ports/93228: [openssh-portable] rc.d script is useless for remote systems Message-ID: <200602120957.k1C9vUUs074513@kartoffel.salatschuessel.net> Resent-Message-ID: <200602121000.k1CA0EDY063386@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93228 >Category: ports >Synopsis: [openssh-portable] rc.d script is useless for remote systems >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 12 10:00:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Oliver Lehmann >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD 6.0-STABLE #0: Sun Jan 8 23:06:16 UTC 2006 i386 >Description: using openssh.sh to stop the sshd for starting it after (or using 'restart') ends up in having openssh.sh killing _all_ the sshd processes, not just the server. that ends up in loosing my ssh connection which is pretty bad when the ssh server is not running because it was shutted down.... even killing the server by hand and using openssh.sh to start fails. root@asassas openssh-portable> ps auxww | grep ssh root 71249 0.0 0.3 5384 2040 ?? Is 12:02AM 0:00.06 sshd: assasa [priv] (sshd) assasa 71254 0.0 0.3 5384 2076 ?? S 12:02AM 0:01.67 sshd: assasa@ttyp2 (sshd) root 86211 0.0 0.2 2772 1888 ?? Is Fri10AM 0:00.35 /usr/local/sbin/sshd root@asassas openssh-portable> kill 86211 root@asassas openssh-portable> /usr/local/etc/rc.d/openssh.sh start openssh already running? (pid=71249 71254). root@asassas openssh-portable> /usr/local/etc/rc.d/openssh.sh forcestart openssh already running? (pid=71249 71254). root@asassas openssh-portable> I used "nohup /usr/local/etc/rc.d/openssh.sh restart >&/dev/null &" but I feel bad. Think about an error with openssh which prevents it from working correctly. Since I lost my ssh session I can't fix it.... that is _bad_ :( >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602120957.k1C9vUUs074513>