Date: Tue, 01 Jan 2002 11:43:34 -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: <3C31E736.1000908@potentialtech.com> References: <3C31E06B.6300D48F@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C31E736.1000908>