From owner-freebsd-stable Tue Jan 1 9: 2:22 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 1B21137B422 for ; Tue, 1 Jan 2002 09:02:18 -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 g01Gvag23081; Tue, 1 Jan 2002 11:57:36 -0500 (EST) Message-ID: <3C31EC4D.1020902@potentialtech.com> Date: Tue, 01 Jan 2002 12:05:17 -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> <3C31E736.1000908@potentialtech.com> <3C31E908.655652E4@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: > Bill Moran wrote: > >>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? >> > > I don't recall doing that, but I must have. The version in > /usr/src/crypto/openssh is 2.9, but pkg_info says that the installed > version is 3.0.1. > > So installing something from ports doesn't uninstall earlier versions of > the same thing? Not if the early version *wasn't* installed from a port. This can be a bit confusing with regards to things like sshd, XFree, bind and some others. There could probably be some better documentation on what goes on with this. Perhaps there is and I haven't seen it. > Anyway, that seems to be it. I'll fiddle with /etc/rc.defaults. I wouldn't. If what you mean is /etc/defaults/rc.conf If you do that, you'll have to mess with that file again if you ever upgrade. Put the required line in /etc/rc.conf to disable the system installed sshd. -- 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