From turutani@polymer3.scphys.kyoto-u.ac.jp  Sat Aug  7 07:10:45 2004
Return-Path: <turutani@polymer3.scphys.kyoto-u.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CC56C16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Aug 2004 07:10:45 +0000 (GMT)
Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.56.153])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E6E5943D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Aug 2004 07:10:44 +0000 (GMT)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1])
	by polymer3.scphys.kyoto-u.ac.jp (8.12.11/8.12.11/20030426-1) with ESMTP id i777AZp4001179;
	Sat, 7 Aug 2004 16:10:35 +0900 (JST)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: (from turutani@localhost)
	by polymer3.scphys.kyoto-u.ac.jp (8.12.11/8.12.11/Submit) id i777AZgh001177;
	Sat, 7 Aug 2004 16:10:35 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200408070710.i777AZgh001177@polymer3.scphys.kyoto-u.ac.jp>
Date: Sat, 7 Aug 2004 16:10:35 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/squid starts with 'squid_enable="NO"'
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70108
>Category:       ports
>Synopsis:       www/squid starts with 'squid_enable="NO"'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 07 07:20:18 GMT 2004
>Closed-Date:    Sat Aug 28 11:13:18 GMT 2004
>Last-Modified:  Sat Aug 28 11:13:18 GMT 2004
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 4.10-STABLE FreeBSD 4.10-STABLE #15: Sat Aug 7 13:16:19 JST 2004 root@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	www/squid starts even if 'squid_enable="NO"' is written in /etc/rc.conf.
	
>How-To-Repeat:
	always.
	
>Fix:
	I don't know well.
	But I think, in FreeBSD 4-x, rc.subr should be used, and /etc/rc.conf
	should be read at the top of squid.sh startup script.
	


>Release-Note:
>Audit-Trail:

From: Thomas-Martin Seck <tmseck@netcologne.de>
To: bug-followup@freebsd.org
Cc: turutani@scphys.kyoto-u.ac.jp
Subject: Re: ports/70108: www/squid starts with 'squid_enable="NO"'
Date: Sat, 7 Aug 2004 12:28:06 +0200

 squid.sh uses the /default/ startup mechanism for the system it is
 installed upon. On 4.x, that's not rcNG, unfortunately. So the way to
 disable a daemon is to 'chmod -x' it's startup script or renaming it,
 see rc(8).
 
 If you want rcNG functionality for squid.sh on 4.x, you just need to
 change squid.sh yourself to extend the check and include statement
 regarding rc_subr to search /usr/local (or whereever you installed the
 rc_subr port to), too. (You might as well copy rc_subr to /etc/.)
 
 Please understand that I am not going to support rcNG on 4.x
 "officially", please see the freebsd-ports and -ports-bugs mailinglist
 archives and the cvs history of squid.sh for details.
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Fri Aug 27 17:00:49 GMT 2004 
State-Changed-Why:  
This could be considered a QA-issue. Asked maintainer for 
feedback in follow-up. 


Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Fri Aug 27 17:00:49 GMT 2004 
Responsible-Changed-Why:  
I'll look into this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70108 

From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: Thomas-Martin Seck <tmseck@netcologne.de>
Cc: bug-followup@freebsd.org, turutani@scphys.kyoto-u.ac.jp
Subject: Re: ports/70108: www/squid starts with 'squid_enable="NO"'
Date: Fri, 27 Aug 2004 18:59:52 +0200

 In gmane.os.freebsd.devel.ports.bugs, you wrote:
 > Subject: Re: ports/70108: www/squid starts with 'squid_enable="NO"'
 > Date: Sat, 7 Aug 2004 12:28:06 +0200
 >
 >  If you want rcNG functionality for squid.sh on 4.x, you just need to
 >  change squid.sh yourself to extend the check and include statement
 >  regarding rc_subr to search /usr/local (or whereever you installed the
 >  rc_subr port to), too. (You might as well copy rc_subr to /etc/.)
 >  
 >  Please understand that I am not going to support rcNG on 4.x
 >  "officially", please see the freebsd-ports and -ports-bugs mailinglist
 >  archives and the cvs history of squid.sh for details.
 
 I don't see anything which should prevent you from using the same
 USE_RC_SUBR-logic and a sed-expression for the correct rc.subr like
 www/apache13 does.
 
 Did I miss anything?
 
 Cheers,
   Volker
 -- 
 http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
 L-Attriwutgrammatik

From: Thomas-Martin Seck <tmseck@netcologne.de>
To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Cc: bug-followup@freebsd.org
Subject: Re: ports/70108: www/squid starts with 'squid_enable="NO"'
Date: Sat, 28 Aug 2004 00:46:25 +0200

 * Volker Stolz (stolz@i2.informatik.rwth-aachen.de):
 
 > In gmane.os.freebsd.devel.ports.bugs, you wrote:
 > > Subject: Re: ports/70108: www/squid starts with 'squid_enable="NO"'
 > > Date: Sat, 7 Aug 2004 12:28:06 +0200
 > >
 > >  If you want rcNG functionality for squid.sh on 4.x, you just need to
 > >  change squid.sh yourself to extend the check and include statement
 > >  regarding rc_subr to search /usr/local (or whereever you installed the
 > >  rc_subr port to), too. (You might as well copy rc_subr to /etc/.)
 > >  
 > >  Please understand that I am not going to support rcNG on 4.x
 > >  "officially", please see the freebsd-ports and -ports-bugs mailinglist
 > >  archives and the cvs history of squid.sh for details.
 > 
 > I don't see anything which should prevent you from using the same
 > USE_RC_SUBR-logic and a sed-expression for the correct rc.subr like
 > www/apache13 does.
 > 
 > Did I miss anything?
 
 Yes. I implemented the script in a way that simply tries to conform to
 rc(8) on each variant of FreeBSD it is supposed to run on. Given that
 the rcNG folks still don't seem to know how to integrate the ports
 scripts properly (cf the discussion following mtm's recent localpkg
 changes), I try to stay away from the rcNG hype on ports@ and take a
 more conservative approach.
 
 As I told the submitter in private mail already: I see what I can do to
 make "rcNG" support a tunable for 4.x systems. But this is not too high
 on my priority list at this time; I'm more concerned about squid.sh
 working correctly on "native" rcNG systems.
State-Changed-From-To: feedback->closed 
State-Changed-By: sem 
State-Changed-When: Sat Aug 28 11:13:12 GMT 2004 
State-Changed-Why:  
Not a bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70108 
>Unformatted:
