From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 9 12:40:11 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B944716A4CE for ; Mon, 9 Feb 2004 12:40:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A71C43D2F for ; Mon, 9 Feb 2004 12:40:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i19KeBbv002372 for ; Mon, 9 Feb 2004 12:40:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i19KeBlR002371; Mon, 9 Feb 2004 12:40:11 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 9 Feb 2004 12:40:11 -0800 (PST) Resent-Message-Id: <200402092040.i19KeBlR002371@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vivek Khera Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55ECC16A4CE for ; Mon, 9 Feb 2004 12:33:23 -0800 (PST) Received: from lorax.kcilink.com (lorax.kcilink.com [206.112.95.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F75A43D1D for ; Mon, 9 Feb 2004 12:33:23 -0800 (PST) (envelope-from vivek@lorax.kcilink.com) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 808943EFA for ; Mon, 9 Feb 2004 15:33:22 -0500 (EST) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 70241-02-2 for ; Mon, 9 Feb 2004 15:33:22 -0500 (EST) Received: from lorax.kcilink.com (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id EE7723EF1 for ; Mon, 9 Feb 2004 15:33:21 -0500 (EST) Received: (from vivek@localhost) by lorax.kcilink.com (8.12.9p2/8.12.9/Submit) id i19KXLIB005959; Mon, 9 Feb 2004 15:33:21 -0500 (EST) (envelope-from vivek) Message-Id: <200402092033.i19KXLIB005959@lorax.kcilink.com> Date: Mon, 9 Feb 2004 15:33:21 -0500 (EST) From: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62601: clamav startup has wrong path to socket X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vivek Khera List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 20:40:11 -0000 >Number: 62601 >Category: ports >Synopsis: clamav startup has wrong path to socket >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 09 12:40:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD lorax.kcilink.com 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #17: Thu Dec 4 17:12:31 EST 2003 vivek@lorax.kcilink.com:/u/lorax1/usr/obj/u/lorax1/usr/src/sys/LORAX i386 >Description: the clamav startup script attempts to remove a stale socket (such as recovering from a system crash). however, it uses the wrong variable name as compared to the default setting within the script. >How-To-Repeat: >Fix: --- /usr/local/etc/rc.d/clamav-clamd.sh Tue Feb 3 14:28:17 2004 +++ /tmp/clamav-clamd.sh Tue Feb 3 14:27:29 2004 @@ -30,9 +30,9 @@ start_precmd() { - if [ -S "$clamd_socket" ]; then - warn "Stale socket $clamd_socket removed." - rm "$clamd_socket" + if [ -S "$clamav_clamd_socket" ]; then + warn "Stale socket $clamav_clamd_socket removed." + rm "$clamav_clamd_socket" fi } >Release-Note: >Audit-Trail: >Unformatted: