Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2016 12:35:34 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>, Ravi Pokala <rpokala@mac.com>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r309625 - head/sbin/rcorder
Message-ID:  <1481052934.1889.267.camel@freebsd.org>
In-Reply-To: <b33b9428-d753-f5dc-28af-e51feebb2c45@FreeBSD.org>
References:  <201612061549.uB6Fndxo044249@repo.freebsd.org> <D3F01801-07D7-4218-8ED7-E2D3ED9EE8D7@panasas.com> <b33b9428-d753-f5dc-28af-e51feebb2c45@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2016-12-06 at 13:07 -0600, Eric van Gyzen wrote:
> On 12/06/2016 11:30, Ravi Pokala wrote:
> > 
> > For grins, I ran this on my build server. The resulting graph is...
> > complex. But one thing was immediately clear: neither
> > /etc/rc.d/dhclient and /etc/rc.d/natd depend on anything. That
> > seems
> > wrong: I would expect them to have some sort of dependency on
> > NETWORKING, either BEFORE (since dhclient may be involved in
> > bringing
> > up the network) or REQUIRE (since it doesnąt make sense to run a
> > networking daemon like natd before networking is up).
> I saw that, too.  I'm pretty sure they're not called directly, but
> are
> called from other scripts, such as network.subr and ipfw,
> respectively.
> They certainly /look/ like they can be called directly.  Maybe that's
> leftover from an older style of configuration?  I defer to the rc
> experts.
> 
> Eric
> 

The clue for that is the "nostart" keyword -- scripts flagged with that
won't be run automatically because /etc/rc does 'rcorder -s nostart',
but they can be run by other scripts or from devd.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1481052934.1889.267.camel>