NetBSD Problem Report #47785

From ef@math.uni-bonn.de  Mon Apr 29 15:54:40 2013
Return-Path: <ef@math.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 6636C63EC86
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Apr 2013 15:54:40 +0000 (UTC)
Message-Id: <20130429155438.6FDC4848B@gumme.math.uni-bonn.de>
Date: Mon, 29 Apr 2013 17:54:38 +0200 (CEST)
From: ef@math.uni-bonn.de
Reply-To: ef@math.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
Subject: rc.d/squid status failure
X-Send-Pr-Version: 3.95

>Number:         47785
>Category:       pkg
>Synopsis:       rc.d/squid status failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 15:55:03 +0000 2013
>Originator:     Edgar Fuß
>Release:        pkgsrc-2013Q1
>Organization:
Mathematisches Institut der Uni Bonn
>Environment:


>Description:
	With Squid 3.3, /etc/rc.d/squid status will always report "squid is not
	running". The problem is squid setting progname to squid-1.
>How-To-Repeat:
	Install www/squid3, /etc/rc.d/squid start, /etc/rc./squid.status
>Fix:
	Add procname="squid-1" to squid.sh. However, that file is shared accross
	multiple versions of squid and the change may not be appropriate for version
	older than 3.3. I'm also unsure a to whether it's safe to statically check
	for squid-1 or a wildcard (which rc.subr doesn't support) would be required.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.