ports/100501: squid rc.d script should set the pidfile

mark burdett mark at goodstorm.com
Wed Jul 19 00:40:14 UTC 2006


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



More information about the freebsd-ports-bugs mailing list