]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r301615:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 13:41:51 +0000 (13:41 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 13:41:51 +0000 (13:41 +0000)
commitb4b38e4b11b0b699fe569a9e59df8bddebe4354b
treea0c16adad0dad96708f0b44d781cd8854eed6d90
parent4fc38f576cea142460b9e80083d7d3c8f3ec1697
MFstable/10 r301615:

MFC r299844,r300931:

r299844:

Make hostid_save depend on hostid

r300931:

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

PR: 195188

git-svn-id: svn://svn.freebsd.org/base/stable/9@301616 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/rc.d/hostid_save
etc/rc.d/netif