From owner-freebsd-ports Sun Nov 18 4: 0:15 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A5DC437B419 for ; Sun, 18 Nov 2001 04:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAIC07E53400; Sun, 18 Nov 2001 04:00:07 -0800 (PST) (envelope-from gnats) Received: from sploo.aagh.net (pc2-hart4-0-cust103.mid.cable.ntl.com [213.107.122.103]) by hub.freebsd.org (Postfix) with ESMTP id 8662F37B405 for ; Sun, 18 Nov 2001 03:55:28 -0800 (PST) Received: from freaky by sploo.aagh.net with local (Exim 3.33 #1) id 165QXn-000PKw-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Nov 2001 11:55:27 +0000 Message-Id: Date: Sun, 18 Nov 2001 11:55:27 +0000 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32075: ipfw-graph-1.3 is not $LOCALBASE clean Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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