From owner-svn-src-all@FreeBSD.ORG Thu Dec 5 03:06:18 2013 Return-Path: Delivered-To: svn-src-all@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 67FFE476 for ; Thu, 5 Dec 2013 03:06:18 +0000 (UTC) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) by mx1.freebsd.org (Postfix) with SMTP id EEBA616D9 for ; Thu, 5 Dec 2013 03:06:17 +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 mf135.sendgrid.net with SMTP id mf135.1485.529FEDA94 Thu, 05 Dec 2013 03:06:17 +0000 (GMT) Received: from mail.tarsnap.com (unknown [10.60.208.15]) by mi72 (SG) with ESMTP id 142c0b85bbc.5644.5375a for ; Wed, 04 Dec 2013 21:06:16 -0600 (CST) Received: (qmail 39416 invoked from network); 5 Dec 2013 03:06:13 -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:13 -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: A6W2xSVPHetogaU8rnzccWwgBYtN+QvIzXyjfe/10PFLz4xlls7NNpJLjvH+FTVz2lyMNtudE/WkUh+oxgkdjdCKv0/Ed59TgCBbxRqNHlhz6P7TAzN7uFD/CATtsIMWNEDZYjBZBx7b9i/07pH+VTNJVLwsF7ru7OYOsWjSX/A= Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 03:06:18 -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