svn commit: r258894 - head/etc

John Baldwin jhb at freebsd.org
Wed Dec 4 14:46:59 UTC 2013


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


More information about the svn-src-head mailing list