From owner-cvs-src@FreeBSD.ORG Fri Jan 25 17:11:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFCA216A419; Fri, 25 Jan 2008 17:11:23 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 78D2A13C4D1; Fri, 25 Jan 2008 17:11:22 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 65E9266C591; Fri, 25 Jan 2008 18:11:21 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vpj0CCD7640t; Fri, 25 Jan 2008 18:10:54 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1F01C66C583; Fri, 25 Jan 2008 18:09:47 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m0PH9kKB031563; Fri, 25 Jan 2008 18:09:46 +0100 (CET) (envelope-from rdivacky) Date: Fri, 25 Jan 2008 18:09:45 +0100 From: Roman Divacky To: Brooks Davis Message-ID: <20080125170945.GA31476@freebsd.org> References: <200801251644.m0PGiYJg051286@repoman.freebsd.org> <479A12AF.2050003@samsco.org> <20080125170546.GC36311@lor.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080125170546.GC36311@lor.one-eyed-alien.net> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, Scott Long , src-committers@FreeBSD.org, Mike Makonnen , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 17:11:24 -0000 On Fri, Jan 25, 2008 at 11:05:46AM -0600, Brooks Davis wrote: > On Fri, Jan 25, 2008 at 09:47:43AM -0700, Scott Long wrote: > > Mike Makonnen wrote: > >> mtm 2008-01-25 16:44:34 UTC > >> FreeBSD src repository > >> Modified files: > >> etc rc.subr Log: > >> Backout previous commit. It's going to clutter the console > >> during boot and shutdown. I think I'll hide it behind autoboot or > >> maybe take brooks@ suggestion and implement a different command > >> prefix for booting/shutdown purposes, but in any case it needs more > >> thought and attention. > >> Noticed by: ceri > >> Pointyhat to: mtm > >> Revision Changes Path > >> 1.79 +0 -3 src/etc/rc.subr > > > > In any case, I think you're on a good track. I can't tell you how many > > times I've pulled my hair out from typing "/etc/rc.d/foo start" at the > > command line and having nothing at all happen as a response. > > The one that continually messes me up is disabling nagios in > /etc/rc.conf during maintance and then doing "/usr/local/etc/rc.d/nagios > stop" and forgetting that it doen't do anything so I get individual > notices about all 352 cluster nodes going down. :( semantically foo_enable="YES" could permit "stop" action because I don't see any logical contradiction in stopping a service that is not enabled... just my 2 cents :) roman