the xorp startup file in /usr/local/etc/rc.d has two problems: 1) it contains the wrong path for xorp_rtrmgr command=/usr/local/rtrmgr/xorp_rtrmgr the path is appropriate for a direct installation of xorp from source, not one via the FreeBSD ports system. 2) it prevents the OS from starting The last command in the startup file runs rtrmgr: run_rc_command "$1" Unfortunately, xorp_rtrmgr does not run as a daemon, but remains in the foreground, so the xorp startup script never finishes (unless xorp crashes), and FreeBDS never completes system startup. Fix: 1) Change the path in /usr/ports/net/xorp/files/xorp.in to reflect the FreeBSD ports installation of XORP: command=%%PREFIX%%/bin/xorp_rtrmgr 2) force xorp_rtrmgr into the background and divert output into a log file: run_rc_command "$1" >> /var/log/xorp.log 2>&1 & How-To-Repeat: Install XORP, enable xorp_enable="YES", and see what happens
Responsible Changed From-To: freebsd-ports-bugs->bms Over to maintainer
State Changed From-To: open->closed Committed, though this fix is incomplete.
bms 2006-11-02 13:08:09 UTC FreeBSD ports repository (src committer) Modified files: net/xorp/files xorp.in Log: Fix for xorp rc.d script. This is not the correct fix -- a more elegant answer to the problem of wrapping the rtrmgr is needed. This only fixes the issues described by the submitter and is not complete. Submitted by: Claus Endres PR: ports/105055 Revision Changes Path 1.2 +4 -3 ports/net/xorp/files/xorp.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"