summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-29 02:59:03 +0000
committerngie <ngie@FreeBSD.org>2016-05-29 02:59:03 +0000
commit1f776afa1cbc91a2631273ffc11b3d2b05a20628 (patch)
tree998f83761123a6dc4ba48e917ae093b0f6d7c603 /etc/rc.d
parent65757e1471c66ebdf79926f56c704cfa941f3bd6 (diff)
downloadFreeBSD-src-1f776afa1cbc91a2631273ffc11b3d2b05a20628.zip
FreeBSD-src-1f776afa1cbc91a2631273ffc11b3d2b05a20628.tar.gz
Make netif REQUIRE hostid
As noted in the PR, if etc/rc.d/zvol is removed, netif will be run before hostid, and the MAC address generated for any bridge devices will be non-deterministic. Make the MAC address generated be deterministic for bridge devices by explicitly REQUIRE'ing hostid. This fixes up the rest of the PR, inadvertently committed in r299844 MFC after: 1 week PR: 195188 Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/netif2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index e2b1825..a1543e6 100755
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -27,7 +27,7 @@
# PROVIDE: netif
# REQUIRE: FILESYSTEMS iovctl serial sppp sysctl
-# REQUIRE: ipfilter ipfs
+# REQUIRE: hostid ipfilter ipfs
# KEYWORD: nojailvnet
. /etc/rc.subr
OpenPOWER on IntegriCloud