Date: Wed, 4 Dec 2013 09:03:19 -0500 From: John Baldwin <jhb@freebsd.org> To: Colin Percival <cperciva@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r258894 - head/etc Message-ID: <201312040903.19767.jhb@freebsd.org> In-Reply-To: <201312032155.rB3LtwfQ008301@svn.freebsd.org> References: <201312032155.rB3LtwfQ008301@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, December 03, 2013 4:55:58 pm Colin Percival wrote: > Author: cperciva > Date: Tue Dec 3 21:55:57 2013 > New Revision: 258894 > URL: http://svnweb.freebsd.org/changeset/base/258894 > > Log: > The rc system aggressively caches the contents of /etc/rc.conf in order to > improve boot performance; this produces arguably astonishing (non-)results > if /etc/rc.conf is modified during the boot process. > > Since performance considerations make it infeasible to automatically detect > if the cached /etc/rc.conf parameters should be invalidated, provide a > mechanism for explicitly requesting that /etc/rc.conf be reloaded: Catch > SIGALRM and reload /etc/rc.conf if it is received. Might have been worth mentioning explicitly why you didn't use SIGHUP in the log message (found it in the thread on rc@). ALRM does seem like an odd choice compared to, say, USR1. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312040903.19767.jhb>