From owner-svn-src-head@FreeBSD.ORG Thu Dec 5 03:06:19 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 E27C8477 for ; Thu, 5 Dec 2013 03:06:19 +0000 (UTC) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) by mx1.freebsd.org (Postfix) with SMTP id 7242516DA for ; Thu, 5 Dec 2013 03:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=14NLSboxt/dAP6g41gAanHpjGwA=; b=nGAnsBVbm/+vWd6hjL 4Pr9ObYecreXrpex7XuC6pZO5LOcVxR7+UIO5QoOzyZFWZKx9R7gRpw/CYvhWE4L RhVfvrqIaK8SLm1klLpVEC55w97h2FQOollb9sReNYR1LiqJzCXsjdSqj16t5F/X rhxipGC3zJyOv7x9EqVrBsgbE= Received: by mf29.sendgrid.net with SMTP id mf29.12626.529FEDAA8 Thu, 05 Dec 2013 03:06:18 +0000 (GMT) Received: from mail.tarsnap.com (unknown [10.60.208.13]) by mi95 (SG) with ESMTP id 142c0b862b1.52b3.32b5a for ; Wed, 04 Dec 2013 21:06:18 -0600 (CST) Received: (qmail 39422 invoked from network); 5 Dec 2013 03:06:16 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 5 Dec 2013 03:06:16 -0000 Received: (qmail 11988 invoked from network); 5 Dec 2013 03:03:39 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 5 Dec 2013 03:03:39 -0000 Message-ID: <529FED0B.9030702@freebsd.org> Date: Wed, 04 Dec 2013 19:03:39 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: John Baldwin Subject: Re: svn commit: r258894 - head/etc References: <201312032155.rB3LtwfQ008301@svn.freebsd.org> <201312040903.19767.jhb@freebsd.org> In-Reply-To: <201312040903.19767.jhb@freebsd.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SG-EID: EvYvoie/qnEezyq2t4eRKjDm9X7ZKbCMt75WvXA+XNEtQfNGcnZehodwlKlKGQtyl5iMqcGWeDUdhaJVQICz6bWeJxWDomFt8TScR+h6seC1rly35k1sgWW3slhANcxvBo4oXeh0WZkqYFqKbk71Yh8uuhqUVsWJ8qPGGQXlHTI= 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: Thu, 05 Dec 2013 03:06:19 -0000 On 12/04/13 06:03, John Baldwin wrote: > On Tuesday, December 03, 2013 4:55:58 pm Colin Percival wrote: >> 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@). Yeah, I meant to include that but forgot when I actually sat down to write the commit message. > ALRM does seem like an odd choice compared to, say, USR1. SIGUSR1 / SIGUSR2 have always seemed more like "internal API" signals to me rather than something processes should send to each other. I have no idea why I feel this way, but that's why I avoided them. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid