Date: Thu, 17 Jan 2002 11:37:44 -0800 (PST) From: "David P. Discher" <dpd@dpdtech.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/34003: Hardcoded path for ssh-keygen in /etc/rc.network Message-ID: <200201171937.g0HJbiS63102@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 34003 >Category: misc >Synopsis: Hardcoded path for ssh-keygen in /etc/rc.network >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Thu Jan 17 11:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: David P. Discher >Release: FreeBSD 4.4 >Organization: >Environment: FreeBSD seven.dpdtech.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Thu Jan 17 12:23:54 CST 2002 root@seven.dpdtech.com:/build/src/sys/compile/borg_fbsd44_20020117a i386 >Description: I found this awhile back, in the /etc/rc.network file, the path to ssh-keygen is hardcoded to /usr/bin/ssh-keygen. The causes problems when trying to upgrade to new versions of OpenSSH from the ports collections. This seems to be a slight oversight. It might not be needed to change these files, but with the idea that the $sshd_program can be configured to a different location/version, but one can't point to the correct versions of the keygen program. >How-To-Repeat: Installing OpenSSH from the ports collections >Fix: 1. Create a port that installs into the base system (probably not the best solution) 2. Change the rc.conf $sshd_program, to $sshd_prefix. Then change /etc/rc and rc.network to use $sshd_prefix/sbin/sshd and $sshd_path/bin/ssh-keygen or simliar. 3. The ports collection should start the new versions of OpenSSH from /usr/local/etc/rc.d/ instead of /etc/rc (but this does not seem to be currently done. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201171937.g0HJbiS63102>