From owner-freebsd-rc@FreeBSD.ORG Fri Oct 28 19:10:12 2011 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C056106564A for ; Fri, 28 Oct 2011 19:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2BC448FC0C for ; Fri, 28 Oct 2011 19:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9SJABbx070610 for ; Fri, 28 Oct 2011 19:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9SJABdK070609; Fri, 28 Oct 2011 19:10:11 GMT (envelope-from gnats) Date: Fri, 28 Oct 2011 19:10:11 GMT Message-Id: <201110281910.p9SJABdK070609@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: John Blazek Cc: Subject: Re: conf/161710: SSHD starts on boot even if sshd_enable= X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Blazek List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 19:10:12 -0000 The following reply was made to PR conf/161710; it has been noted by GNATS. From: John Blazek To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/161710: SSHD starts on boot even if sshd_enable= Date: Fri, 28 Oct 2011 13:48:20 -0500 Hello, I respectfully request/suggest that you attempt to reproduce this, or contact me for a login to one of the servers that demonstrates this behavior. It appears you may have summarily dismissed this bug report simply on the basis of not liking inetd (based on your email suggestion to me privately). 1) inetd does not start sshd as a LISTEN service. 2) inetd is not configured to listen on EITHER of the two ports that are involved with the SSHD processes that are started 3) the double startup only occurs when sshd is invoked via /etc/rc.local on boot When the invocation is removed from rc.local "NO" instances of sshd are started. A) I don't have a closed mind. I'm more than willing to entertain that there is a configuration error. B) If it is a configuration error, then it is an error that behaved quite differently in prior versions of FreeBSD. The same configuration has been used on these servers for years. -john