Date: Thu, 16 Sep 2010 07:50:19 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: ports@FreeBSD.org Cc: Scot Hetzel <swhetzel@gmail.com>, Doug Barton <dougb@FreeBSD.org>, Ion-Mihai Tetcu <itetcu@FreeBSD.org>, nork@FreeBSD.org, Greg Byshenk <freebsd@byshenk.net> Subject: Re: [ports/net/isc-dhcp*] Don't stop DHCP related daemons Message-ID: <20100916075019.09dcb8ba.nork@FreeBSD.org> In-Reply-To: <4C911117.7040600@FreeBSD.org> References: <20100911222902.bb57444a.nork@FreeBSD.org> <20100911173359.68d71af6@it.buh.tecnik93.com> <AANLkTin0D13%2B9JQJ6wVD7_48Es6rvUJtu=rAx6M1xdjx@mail.gmail.com> <4C901FD0.5000304@FreeBSD.org> <20100915081800.GQ12467@core.byshenk.net> <4C911117.7040600@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On Wed, 15 Sep 2010 11:31:51 -0700 Doug Barton <dougb@FreeBSD.org> wrote: > >> I can think of at least one more scenario off the top of my head. You > >> want to run the new version of the service the next time the box is > >> restarted for whatever reason, but the update is not so critical that it > >> justifies restarting the system immediately. > > Do 'you' (generic) -really- want to do this? > Once again, it's an area where the intelligence of the admin is expected > to be applied. :) If you're thinking in terms of one machine, you're > right, this probably isn't a good idea. However if you're thinking of a > server farm with 1,000's of identical systems, a good QA process (so > it's a known-good change), and monitoring in place to detect a failed > reboot and take that box out of the pool; not only is what I described > reasonable, it's commonplace. I agree. And to disable '@unexec %D/etc/rc.d/isc-dhcpd forcestop', I wrote /etc/rc.conf.d/dhcpd in my machines like following: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - stop_precmd="nothing_to_do" nothing_to_do () { [ x"${rc_force}" = x"yes" ] && exit 1 } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If needed, we (administrators) can disable a mechanism such as thus. -- Norikatsu Shigemura <nork@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100916075019.09dcb8ba.nork>