From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 19 00:40:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 CD56716A4E2 for ; Wed, 19 Jul 2006 00:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AC143D49 for ; Wed, 19 Jul 2006 00:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6J0eDgH080370 for ; Wed, 19 Jul 2006 00:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6J0eDmu080369; Wed, 19 Jul 2006 00:40:13 GMT (envelope-from gnats) Resent-Date: Wed, 19 Jul 2006 00:40:13 GMT Resent-Message-Id: <200607190040.k6J0eDmu080369@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, mark burdett Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA8A916A4DD for ; Wed, 19 Jul 2006 00:38:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6423043D45 for ; Wed, 19 Jul 2006 00:38:08 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6J0c83Y025097 for ; Wed, 19 Jul 2006 00:38:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6J0c8Wi025096; Wed, 19 Jul 2006 00:38:08 GMT (envelope-from nobody) Message-Id: <200607190038.k6J0c8Wi025096@www.freebsd.org> Date: Wed, 19 Jul 2006 00:38:08 GMT From: mark burdett To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/100501: squid rc.d script should set the pidfile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 00:40:14 -0000 >Number: 100501 >Category: ports >Synopsis: squid rc.d script should set the pidfile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 19 00:40:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: mark burdett >Release: 6.1 >Organization: GoodStorm.com >Environment: >Description: The rc.d script for squid should set the pidfile. The trouble is that if you have multiple instances of squid running, restarting one squid via "/usr/local/etc/rc.d/squid restart" will attempt to restart all squid processes. >How-To-Repeat: Add another instance of squid, e.g. /usr/local/etc/rc.d/squid_foo and enable in /etc/rc.conf. >Fix: Add a pidfile definition, e.g. "pidfile=/usr/local/squid/logs/$name.pid" to the squid script. >Release-Note: >Audit-Trail: >Unformatted: