diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-29 02:59:03 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-29 02:59:03 +0000 |
commit | 1f776afa1cbc91a2631273ffc11b3d2b05a20628 (patch) | |
tree | 998f83761123a6dc4ba48e917ae093b0f6d7c603 /etc | |
parent | 65757e1471c66ebdf79926f56c704cfa941f3bd6 (diff) | |
download | FreeBSD-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')
-rwxr-xr-x | etc/rc.d/netif | 2 |
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 |