Bug 215368 - /etc/rc.d/netwait script runs too early
Summary: /etc/rc.d/netwait script runs too early
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-rc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 00:26 UTC by Garrett Wollman
Modified: 2016-12-18 02:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Wollman freebsd_committer freebsd_triage 2016-12-18 00:26:20 UTC
/etc/rc.d/netwait needs to run after anything that might be required in order to start network interfaces.  In my particular case, that was /etc/rc.d/bridge which is often required when using VNET jails.  Adding "bridge" to the REQUIRE line fixed the long delay on startup for me.  (Otherwise netwait would run before bridge.)

I think the NETWORKING target really needs to be split into two: INTERFACES to ensure that all of the required interfaces are present and configured, and keep NETWORKING as meaning "basic networking services are actually functional".