From owner-freebsd-rc@FreeBSD.ORG Tue Oct 2 01:00:21 2007 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ACA716A417 for ; Tue, 2 Oct 2007 01:00:21 +0000 (UTC) (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 B77DF13C480 for ; Tue, 2 Oct 2007 01:00:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 1603 invoked by uid 399); 2 Oct 2007 01:00:19 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 2 Oct 2007 01:00:19 -0000 X-Originating-IP: 127.0.0.1 Date: Mon, 1 Oct 2007 18:00:10 -0700 (PDT) From: Doug Barton To: Pietro Cerutti In-Reply-To: <200710012040.l91KeC2t097859@freefall.freebsd.org> Message-ID: References: <200710012040.l91KeC2t097859@freefall.freebsd.org> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/105568: [patch] Add more flexibility to rc.conf, to choose "_enable" values at startup 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: Tue, 02 Oct 2007 01:00:21 -0000 What do you feel is the need/benefit of adding this? I read your PR, and I don't find your reasoning very compelling. You can easily start or stop services after the system enters multi-user mode by simply changing the _enable variable and running /etc/rc.d/foo start|stop as needed. There are precious few services that depend on being started at boot time. Also, in regards to your section about using this on a laptop, I have solved the same problem by using an rc.local script that detects the network I'm on and then runs anything I need with onestart. Admittedly your solution has the benefit of properly stopping the service at shutdown time, but I've never found that to be a problem. So can you please elaborate on your reasoning? And do others find this to be an idea worth pursuing? Thanks, Doug -- This .signature sanitized for your protection