From owner-freebsd-hackers@FreeBSD.ORG Mon May 1 19:07:01 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A57C916A409 for ; Mon, 1 May 2006 19:07:01 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 831B743D76 for ; Mon, 1 May 2006 19:06:52 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k41J6jqF013423; Mon, 1 May 2006 12:06:45 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k41J6jph013421; Mon, 1 May 2006 12:06:45 -0700 Date: Mon, 1 May 2006 12:06:45 -0700 From: Brooks Davis To: Eric Anderson Message-ID: <20060501190645.GB4315@odin.ac.hmc.edu> References: <20060420035530.F1A5A16A4E0@hub.freebsd.org> <20060420132543.GB37150@wjv.com> <4447D2F7.1070408@centtech.com> <346a80220604232037mb6f98a0x5fab21622de5ce3c@mail.gmail.com> <444C51BA.3020905@centtech.com> <20060424131508.GB23163@pint.candc.home> <444CD48A.4060501@centtech.com> <444CE475.30104@centtech.com> <20060430231621.GA551@pint.candc.home> <44557F34.3020906@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: <44557F34.3020906@centtech.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: hackers@freebsd.org, Coleman Kane Subject: Re: [PATCH] Fancy rc startup style RFC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 19:07:02 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 30, 2006 at 10:23:32PM -0500, Eric Anderson wrote: > Coleman Kane wrote: > >On Mon, Apr 24, 2006 at 09:45:09AM -0500, Eric Anderson wrote: > >>Eric Anderson wrote: > >> > >>Actually, some other things got changed somewhere in the history, that= =20 > >>broke some things and assumptions I was making. This patch has them=20 > >>fixed, and I've tested it with all the different options: > >> > >>http://www.googlebit.com/freebsd/patches/rc_fancy.patch-9 > >> > >>It's missing the defaults/rc.conf diffs, but you should already know=20 > >>those. > >> > >> > >>Eric > >> > > > >I have a new patch (to 7-CURRENT) of the "fancy_rc" updates. > > > >This allows the use of: > >rc_fancy=3D"YES" ---> Turns on fancy reporting (w/o color) > >rc_fancy_color=3D"YES" ---> Turns on fancy reporting (w/ color), needs > > rc_fancy=3D"YES" > >rc_fancy_colour=3D"YES" ---> Same as above for you on the other side of > > the pond. > >rc_fancy_verbose=3D"YES" --> Turn on more verbose activity messages. > > This will cause what appear to be "false > > positives", where an unused service is > > "OK" instead of "SKIP". > > > >You can also customize the colors, the widths of the message > >brackets (e.g. [ OK ] vs. [ OK ]), the screen width, and > >the contents of the message (OK versus GOOD versus BUENO). > > > >Also, we have the following message combinations: > >OK ---> Universal good message > >SKIP,SKIPPED ---> Two methods for conveying the same idea? > >ERROR,FAILED ---> Ditto above, for failure cases > > > >Should we just have 3 different messages, rather than 5 messages > >in 3 categories? >=20 > Yes, that's something that started with my first patch, and never got=20 > ironed out. I think it should be: > OK > SKIPPED > FAILED > and possibly also: > ERROR >=20 > The difference between FAILED and ERROR would be that FAILED means the=20 > service did not start at all, and ERROR means it started but had some=20 > kind of error response. FAILED vs ERROR seems confusing. I'd be inclined toward WARNING vs FAILED or ERROR. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEVlxEXY6L6fI4GtQRAozqAKCcAQyNAKeQqunsFxWlv5vGKealqwCfWHR4 dUdQK1zF3taz6gBZWEfzeac= =D+bn -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--