From owner-freebsd-rc@FreeBSD.ORG Tue Oct 2 23:06:16 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 A269516A501 for ; Tue, 2 Oct 2007 23:06:16 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id 609F113C459 for ; Tue, 2 Oct 2007 23:06:16 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so2740499nzf for ; Tue, 02 Oct 2007 16:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=aBR07pgBAiwsrs07hucJ5fzUgZ1OQSGnI3yVpqwhixA=; b=UwDHcsPW+W8OJfGYUcuSTzvqf9an2KKlp8grEwFCX9QbIBkA1itR9CpCbNPEj+uu7VfFdcGbOH6864qKBv9+RAGQGHF1bykMQqUpthg2H99kYD0H/uLC/DnrOa6b1jaqvUVDa5ad5Z6NoPO7DGYcXK5+fEVe8f109RhBb8opj4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tfL5oFigTRRi95sdTYxjagiwcVIkgbqBXJ1RKzSG0dotQsZN7jbLEMLud96MXYFRIK4gnWQxdul39M+XtmwJZoDiKM8JavTQyV/P3Ax4FzhjBesaopbBQr8LpGoO/Jjb7dn0rseIfvd391EU69MYU7SUrP9SPVTHVKmzyuXAGWU= Received: by 10.65.100.14 with SMTP id c14mr7406736qbm.1191364882127; Tue, 02 Oct 2007 15:41:22 -0700 (PDT) Received: by 10.64.209.2 with HTTP; Tue, 2 Oct 2007 15:41:22 -0700 (PDT) Message-ID: Date: Tue, 2 Oct 2007 15:41:22 -0700 From: "Kian Mohageri" To: "Doug Barton" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710012040.l91KeC2t097859@freefall.freebsd.org> <47022870.7030607@gahr.ch> 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 23:06:16 -0000 On 10/2/07, Doug Barton wrote: > On Tue, 2 Oct 2007, Pietro Cerutti wrote: > > > Doug Barton wrote: > >> 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. > > > > 1) enter multi user mode > > That's going to happen anyway, so this is a red herring. > > > 2) edit rc.conf > > 3) /etc/rc.d/foo [start|stop] > > Or just do: /etc/rc.d/foo onestart > > > 1) choose yes or no before entering multi user mode > > > > It's just a matter of comfort, cleanness and easy of handling. > > I certainly see that you believe this to be true, but I'm sorry to say > that I don't agree with you. I didn't see anything in the list of examples > you gave that convinces me that what you're proposing is dramatically > better than simply using onestart where needed. > > Perhaps others will have different opinions. > I agree with Doug on this one. While I see it being useful in a few cases, the [great] majority of the time it will go completely unused. The times when it could be used can be dealt with in other ways. Seems like feature creep to me. -Kian