From owner-svn-src-head@FreeBSD.ORG Wed Dec 4 14:46:59 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AD1B38D; Wed, 4 Dec 2013 14:46:59 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D4DAA15F0; Wed, 4 Dec 2013 14:46:58 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9E097B992; Wed, 4 Dec 2013 09:46:57 -0500 (EST) From: John Baldwin To: Colin Percival Subject: Re: svn commit: r258894 - head/etc Date: Wed, 4 Dec 2013 09:03:19 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <201312032155.rB3LtwfQ008301@svn.freebsd.org> In-Reply-To: <201312032155.rB3LtwfQ008301@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201312040903.19767.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 04 Dec 2013 09:46:57 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 14:46:59 -0000 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