Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 00:38:08 GMT
From:      mark burdett <mark@goodstorm.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100501: squid rc.d script should set the pidfile
Message-ID:  <200607190038.k6J0c8Wi025096@www.freebsd.org>
Resent-Message-ID: <200607190040.k6J0eDmu080369@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607190038.k6J0c8Wi025096>