Date: Sun, 12 Sep 2010 09:47:25 +0200 From: Greg Byshenk <freebsd@byshenk.net> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Cc: Torfinn Ingolfsen <tingox@gmail.com>, Ion-Mihai Tetcu <itetcu@freebsd.org> Subject: Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons Message-ID: <20100912074725.GM12467@core.byshenk.net> In-Reply-To: <20100912094602.497f93c7@it.buh.tecnik93.com> References: <20100911222902.bb57444a.nork@FreeBSD.org> <20100911173359.68d71af6@it.buh.tecnik93.com> <AANLkTimxpLKmvZc%2Bybsav8Mrpjy_aopL2qT3m8cbYL-q@mail.gmail.com> <20100911224547.GA35333@mail.hs.ntnu.edu.tw> <20100912094602.497f93c7@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 12, 2010 at 09:46:02AM +0300, Ion-Mihai Tetcu wrote: > On Sun, 12 Sep 2010 06:45:47 +0800 Denny Lin <dennylin93@hs.ntnu.edu.tw> wrote: > > On Sat, Sep 11, 2010 at 11:35:43PM +0200, Torfinn Ingolfsen wrote: > > > On Sat, Sep 11, 2010 at 4:33 PM, Ion-Mihai Tetcu <itetcu@freebsd.org> wrote: > > > > This 'stop the service before we install' seems to be a new > > > > fashion, usually unneeded/disruptive. > > > > IMO this should only happen when it's really needed, and with > > > > some big warning printed. > > > > > > > > > > And perhaps with a restart service attempt afterwards? (maybe > > > interactive as in "do you want me to restart the service y/n?") > > > Just my 0.02 euros. > > > > How about knobs like WITH_STOP_SERVICE and WITH_START_SERVICE for > > users who wish to avoid the y/n questions? > > We have a standard policy of not auto-starting anything. > We really don't want a service to be stated automatically after install > (think: I installed this today, I'll configure it how I need it > tomorrow, then start the service). > And you can't really know if it's a new install or an upgrade. Is this really a problem? It seems to me that the presence of 'dhcpd_enable="YES"' in /etc/rc.conf (or whatever similar entry is used for a given service) should answer the question of whether some service should be started after an upgrade. I always restart any services after an upgrade. The reason being, if by chance something does go wrong, I want to know about it at that time, while the server is maintenance (when I can be reasonably sure of the cause), not at some random time in the future (when someone will have to troubleshoot the problem -- on a server that is supposed to be live). -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100912074725.GM12467>