From owner-freebsd-rc@FreeBSD.ORG Mon Feb 13 08:50:14 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DEFD16A420 for ; Mon, 13 Feb 2006 08:50:14 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id F017C43D5D for ; Mon, 13 Feb 2006 08:50:10 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 73649 invoked by uid 399); 13 Feb 2006 08:50:08 -0000 Received: from localhost (HELO ?192.168.1.100?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 13 Feb 2006 08:50:08 -0000 Message-ID: <43F0483C.1080708@FreeBSD.org> Date: Mon, 13 Feb 2006 00:50:04 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Matteo Riondato References: <200602121004.k1CA4vJG056410@repoman.freebsd.org> <43EFC302.40001@FreeBSD.org> <20060213000138.GF5084@fasolt.home.paeps.cx> <20060213065039.GC1131@kaiser.sig11.org> In-Reply-To: <20060213065039.GC1131@kaiser.sig11.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Craig Carey , freebsd-rc@freebsd.org, Philip Paeps Subject: Re: cvs commit: src/etc/rc.d localpkg X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 08:50:14 -0000 Matteo Riondato wrote: > On Mon, Feb 13, 2006 at 01:01:38AM +0100, Philip Paeps wrote: >> On 2006-02-12 15:21:38 (-0800), Doug Barton wrote: >>> Matteo Riondato wrote: >>>> Make localpkg print local scripts names when the boot is verbose >>> Please hold off on the MFC of this patch till we have a chance to discuss it >>> more. I'm not opposed to the concept of printing out script names as they >>> are executed, but that should be done using one of the existing rc.subr >>> mechanisms (probably debug, as that's how it's done in rc.subr for new style >>> scripts). >> If magic is available in rc.subr, I agree that would be preferable to use in >> place of the 'echo' used now. Is there a function in rc.subr to take care of >> the 'if bootverbose then echo foo' entirely? > > If there's such magic, I'll be glad to modify localpkg and make it > using the magic. > I'll search for it later, but feel free to make suggestions. I'm sorry I didn't make myself clear, but what I was actually getting at was that traditionally the kernel boot verbose option and userland stuff like rc.d have been orthogonal. However, it occurs to me that this does not necessarily need to be so. I could see how it might be useful to set rc_debug in rc.subr if the bootverbose sysctl is active. What do others think about this? Doug -- This .signature sanitized for your protection