]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make netif REQUIRE hostid
authorngie <ngie@FreeBSD.org>
Sun, 29 May 2016 02:59:03 +0000 (02:59 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 29 May 2016 02:59:03 +0000 (02:59 +0000)
commit1f776afa1cbc91a2631273ffc11b3d2b05a20628
tree998f83761123a6dc4ba48e917ae093b0f6d7c603
parent65757e1471c66ebdf79926f56c704cfa941f3bd6
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
etc/rc.d/netif