From owner-freebsd-stable Tue Jan 1 8:40:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 05AE037B423 for ; Tue, 1 Jan 2002 08:40:36 -0800 (PST) Received: from potentialtech.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id g01GZrg09771; Tue, 1 Jan 2002 11:35:54 -0500 (EST) Message-ID: <3C31E736.1000908@potentialtech.com> Date: Tue, 01 Jan 2002 11:43:34 -0500 From: Bill Moran Organization: Potential Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Joe Halpin Cc: "freebsd-stable@FreeBSD.ORG" Subject: Re: System trying to start sshd twice References: <3C31E06B.6300D48F@attbi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe Halpin wrote: > There is code to start sshd in both /etc/rc and > /usr/local/etc/rc.d/sshd.sh. Did you install an upgrade to sshd from a port or something? Did you maybe upgrade FreeBSD from a version when sshd was not part of the base system? /usr/local/etc/rc.d/sshd.sh is not in the system by default. > Should sshd be started from /etc/rc or /usr/local/etc/rc.d/sshd.sh? I > assume that it doesn't need to be started from both. If it's the system sshd, it should be started from /etc/rc, if it's a port of sshd and not "part of the system", it should be started from /usr/local/etc/rc.d. Find out which one is starting the correct sshd binary and disable the other. You can change the startup opts for the system sshd in /etc/rc.conf. If both of then are referencing the correct binary, then use whichever one seems logical to you and disable the other. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message