From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 3 04:10:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C433516A4CE for ; Sat, 3 Apr 2004 04:10:23 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAF7743D5A for ; Sat, 3 Apr 2004 04:10:23 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i33CANbv099881 for ; Sat, 3 Apr 2004 04:10:23 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i33CANY9099880; Sat, 3 Apr 2004 04:10:23 -0800 (PST) (envelope-from gnats) Date: Sat, 3 Apr 2004 04:10:23 -0800 (PST) Message-Id: <200404031210.i33CANY9099880@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: tmseck@netcologne.de (Thomas-Martin Seck) Subject: Re: ports/65073: squid's startup script doesn't use /usr/local/etc/rc.subr X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thomas-Martin Seck List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 12:10:23 -0000 The following reply was made to PR ports/65073; it has been noted by GNATS. From: tmseck@netcologne.de (Thomas-Martin Seck) To: bug-followup@freebsd.org Cc: Subject: Re: ports/65073: squid's startup script doesn't use /usr/local/etc/rc.subr Date: 3 Apr 2004 12:01:48 -0000 * Matus UHLAR - fantomas : (Line wrap recovered) > squid's startup script /usr/local/etc/rc.d/squid.sh checks > /etc/rc.subr for existence, but doesn't check for > /usr/local/etc/rc.subr (which is used in FreeBSD-4.9). Sorry, this is not correct. /usr/local/etc/rc.subr is installed by the rc_subr port. The standard rc mechanism on FreeBSD 4 is still "rcOLD" and this is not going to change. > result is that the script ignores settings from rc.conf (e.g. > username) Yes, since it behaves like an "rcOLD" script on 4.x. This is by design. If you need rcNG functionality on 4.x, you need to either expand the check for rc.subr in squid.sh yourself or copy rc.subr to /etc. Note that squid.sh and other run scripts are only a best effort made by the maintainer, if they do not fit your specific needs you should always replace them with your own solution.