Date: Sat, 29 Oct 2011 00:10:15 GMT From: John Blazek <freebsd.org@logicalsolutns.com> To: freebsd-rc@FreeBSD.org Subject: Re: conf/161710: SSHD starts on boot even if sshd_enable="NO" in 8.2 Message-ID: <201110290010.p9T0AFEf053880@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/161710; it has been noted by GNATS. From: John Blazek <freebsd.org@logicalsolutns.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: bug-followup@FreeBSD.org,d@delphij.net Subject: Re: conf/161710: SSHD starts on boot even if sshd_enable="NO" in 8.2 Date: Fri, 28 Oct 2011 19:05:22 -0500 Hello, As you predicted, the patch resolved the dual sshd startup: [root@kahlua]:[~]# sockstat | grep ssh root sshd 55696 2 tcp4 192.168.3.134:2220 192.168.3.142:1089 root sshd 55696 3 tcp4 192.168.3.134:2220 192.168.3.142:1089 root sshd 55696 4 tcp4 192.168.3.134:2220 192.168.3.142:1089 root sshd 8361 3 tcp6 *:22200 *:* root sshd 8361 4 tcp4 *:22200 *:* Thanks again. Sorry for making you find something that had already been fixed. I guess there is no good way to add that patch to the next 8.2-px ? -john ******************* Awesome! At least I'm really not losing my mind! Well I might be anyway, but not in this case! Thank you! -john At 06:30 PM 10/28/2011, Dimitry Andric wrote: >Aha, now I see the cause of the problem. A similar case to yours was >actually reported in conf/156427: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=156427 > >There is an issue in /etc/rc.subr, which was introduced accidentally in >r206686, fixed in head in r220760, and later merged to stable/8 in >r220958: > > http://svnweb.freebsd.org/base?view=revision&revision=220958 > >but this was after 8.2 released, unfortunately. > >You should be able to fix it by applying just the diff to rc.subr, which >I have attached for your convenience. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110290010.p9T0AFEf053880>