Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 11:55:27 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32075: ipfw-graph-1.3 is not $LOCALBASE clean
Message-ID:  <E165QXn-000PKw-00@sploo.aagh.net>

next in thread | raw e-mail | index | archive | help

>Number:         32075
>Category:       ports
>Synopsis:       ipfw-graph-1.3 is not $LOCALBASE clean
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 04:00:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Very little
>Environment:
System: FreeBSD sploo.freak.lan 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 11 19:47:37 GMT 2001 root@sploo.freak.lan:/usr/obj/usr/src/sys/SPLOO i386


	
>Description:
	When installed on a system with a non standard $LOCALBASE
	(/usr/pkg in this case), ipfw-graph core dumps after looking
	for ipfw-al in /usr/local:

	-% ipfw-graph
	/usr/local/sbin/ipfw-al: not found
	zsh: 96637 floating point exception (core dumped)  ipfw-graph

>How-To-Repeat:
	Change $LOCALBASE to non standard location, install and run
	ipfw-graph.

	Moving ipfw-al would also reproduce the coredump.
>Fix:
	Don't change $LOCALBASE. Blegh.
	
	Copying ipfw-al to /usr/local/sbin works, but a proper fix would
	involve either the port changing /usr/local if appropriate in
	the code or allowing it to be found at runtime using $PATH.

	A check in the pipe() call would also be a good idea :)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E165QXn-000PKw-00>