From owner-freebsd-rc@FreeBSD.ORG Wed Sep 12 07:53:40 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 8DD57106566B; Wed, 12 Sep 2012 07:53:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E4EE914DA33; Wed, 12 Sep 2012 07:53:39 +0000 (UTC) Message-ID: <50503F83.2010308@FreeBSD.org> Date: Tue, 11 Sep 2012 21:53:39 -1000 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: d@delphij.net References: <504A5688.3090905@delphij.net> <504ECCD9.8010705@FreeBSD.org> <504F98E4.5090706@delphij.net> In-Reply-To: <504F98E4.5090706@delphij.net> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: crees@FreeBSD.org, freebsd-rc@FreeBSD.ORG, Xin Li Subject: Re: [PATCH] Add -R (restart all local services) to service(8) 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: Wed, 12 Sep 2012 07:53:40 -0000 On 09/11/2012 10:02 AM, Xin Li wrote: > On 09/10/12 22:32, Doug Barton wrote: >> On 09/07/2012 13:18, Xin Li wrote: >>> Hi, > >>> Here is a patch that adds a new option, -R, to service(8), that >>> restarts all "local" services. Useful for after portmaster -a. > >> Since no one else has spoken up, I will. I dislike this idea >> rather strongly, and would not like to see it go in. It's >> incredibly rare that restarting all local services would be the >> right course of > > It's not rare after a port upgrade, and this makes it possible to stop > and start services in the right order. So what you and Chris are asserting is that it's frequently necessary to stop and restart ALL of your ports related services, AND that they have to be done in the right order? The latter is very rare (most ports services tend to be independent of each other). And in all my time administering FreeBSD systems, I have never thought to myself, "Boy, I need an easy way to restart all my local services." Can y'all give an actual example of when this might be necessary? Doug