conf/161710: SSHD starts on boot even if sshd_enable="NO" in 8.2

John Blazek freebsd.org at logicalsolutns.com
Sat Oct 29 00:10:16 UTC 2011


The following reply was made to PR conf/161710; it has been noted by GNATS.

From: John Blazek <freebsd.org at logicalsolutns.com>
To: Dimitry Andric <dim at FreeBSD.org>
Cc: bug-followup at FreeBSD.org,d at delphij.net
Subject: Re: conf/161710: SSHD starts on boot even if 
  sshd_enable=&quot;NO&quot; in 8.2
Date: Fri, 28 Oct 2011 19:05:22 -0500

 Hello,
 
 As you predicted, the patch resolved the dual sshd startup:
 
 
 [root at 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.
 >
 


More information about the freebsd-rc mailing list