NetBSD Problem Report #17378
Received: (qmail 16852 invoked by uid 605); 24 Jun 2002 19:52:40 -0000
Message-Id: <20020624195230.4E638AC@proven.weird.com>
Date: Mon, 24 Jun 2002 15:52:30 -0400 (EDT)
From: woods@weird.com (Greg A. Woods)
Sender: gnats-bugs-owner@netbsd.org
Reply-To: woods@planix.com (Greg A. Woods)
To: gnats-bugs@gnats.netbsd.org
Subject: www/apache-1.3.26nb1 rc.d script not compatible with pre-1.5 systems
X-Send-Pr-Version: 3.95
>Number: 17378
>Category: pkg
>Synopsis: www/apache-1.3.26nb1 rc.d script not compatible with pre-1.5 systems
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 24 19:53:00 +0000 2002
>Closed-Date: Tue Jul 02 11:57:45 +0000 2002
>Last-Modified: Tue Jul 02 11:57:45 +0000 2002
>Originator: Greg A. Woods
>Release: pkgsrc-2002/06/23
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:
The test for a usable /etc/rc.subr is broken in the startup
script for www/apache. /etc/rc.subr existed in NetBSD-1.3, but
was not compatible with the usage in this script until 1.5.
>How-To-Repeat:
install www/apache-1.3.26nb1 on a machine older than NetBSD-1.5
>Fix:
Make the test explicit for other files and directories which
always have to accompany a usable version of /etc/rc.subr.
Index: files/apache.sh
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/www/apache/files/apache.sh,v
retrieving revision 1.18
diff -c -r1.18 apache.sh
*** files/apache.sh 18 Mar 2002 12:15:37 -0000 1.18
--- files/apache.sh 24 Jun 2002 19:42:55 -0000
***************
*** 48,54 ****
${ctl_command} ${action}
}
! if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"
--- 48,54 ----
${ctl_command} ${action}
}
! if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
load_rc_config $name
run_rc_command "$1"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Tue Jul 2 04:57:29 PDT 2002
State-Changed-Why:
Fixed, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.