From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 15:58:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15ECC16A4CE; Sat, 31 Jul 2004 15:58:23 +0000 (GMT) Received: from telecom.net.et (ns2.telecom.net.et [213.55.64.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A8A743D31; Sat, 31 Jul 2004 15:58:16 +0000 (GMT) (envelope-from mtm@identd.net) Received: from [213.55.66.168] (HELO pool-151-200-10-97.res.east.verizon.net) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 53150563; Sat, 31 Jul 2004 18:51:27 +0300 Received: from rogue.acs-et.com (localhost [127.0.0.1]) ESMTP id i6VFwgES035761; Sat, 31 Jul 2004 18:58:50 +0300 (EAT) (envelope-from mtm@rogue.acs-et.com) Received: (from mtm@localhost) by rogue.acs-et.com (8.12.11/8.12.11/Submit) id i6VFwYm0035760; Sat, 31 Jul 2004 18:58:34 +0300 (EAT) (envelope-from mtm) Date: Sat, 31 Jul 2004 18:58:23 +0300 From: Mike Makonnen To: Oliver Eikemeier Message-ID: <20040731155822.GB35674@rogue.acs-et.com> References: <20040731145616.GA14576@rogue.acs-et.com> <2CA903DA-E308-11D8-9C56-00039312D914@fillmore-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2CA903DA-E308-11D8-9C56-00039312D914@fillmore-labs.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD/5.2-CURRENT (i386) cc: freebsd-rc@freebsd.org cc: current@freebsd.org Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2004 15:58:23 -0000 On Sat, Jul 31, 2004 at 05:42:05PM +0200, Oliver Eikemeier wrote: > > NetBSD seems to be able to cope with this situation for two year now. Of > course a wrongly written startup script could break things, but this was > already possible before. A script could for example hang, I've > experienced this serveral times myself. Last time I checked NetBSD is not FreeBSD. That it has worked for them is an additional data point yes, but not a determining factor. > >Ok, can you do the following then: > > > >1. When you (portmgr) are ready put back the rc.d/localpkg changes > >2. Put the ordering of ports scripts with base system > > scripts behind an rc.conf(5) knob, and modify your patch so both > > /etc/rc and /etc/rc.d/localpkg do the right thing depending on > >whether > > it's on or off. > > I suggest changing the extension for sourcing scripts to `.rc' and > ignore `.sh' scripts in rc/rc.shutdown. The unmodified localpkg > should handle these. As I have already said, this is a gratuitous digression to support buggy rc.d ports script who's bugginess has only existed on 5-CURRENT up to now. Since, you and I don't seem to agree on this issue and since we both don't seem to be restating the same things over and over againg. why don't we refrain for replying to this thread unless we have something new to add? Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !