Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jan 2002 12:05:17 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Joe Halpin <joe.halpin@attbi.com>
Cc:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: System trying to start sshd twice
Message-ID:  <3C31EC4D.1020902@potentialtech.com>
References:  <3C31E06B.6300D48F@attbi.com> <3C31E736.1000908@potentialtech.com> <3C31E908.655652E4@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C31EC4D.1020902>