Merge pull request #16757 from spowelljr/updateQEMUSocketFix

site: Update fix for dhcpd_leases issue
pull/16758/head
Medya Ghazizadeh 2023-06-22 10:25:21 -07:00 committed by GitHub
commit 1b8623d33a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 11 deletions

View File

@ -75,20 +75,13 @@ minikube start --driver qemu --network builtin
{{% tab socket_vmnet %}}
## `/var/db/dhcpd_leases` errors
If you're seeing errors related to `/var/db/dhcpd_leases` we recommend the following:
1. Uninstall `socket_vmnet`:
If you're seeing errors related to `/var/db/dhcpd_leases` your firewall is likely blocking the bootpd process.
Run the following to unblock bootpd from the macOS builtin firewall:
```shell
# if installed via brew
HOMEBREW=$(which brew) && sudo ${HOMEBREW_PREFIX}/bin/brew services stop socket_vmnet
brew uninstall socket_vmnet
# if installed from source
cd socket_vmnet && sudo make uninstall
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
```
2. Reboot
3. [Reinstall `socket_vmnet`](#requirements)
{{% /tab %}}
{{% tab builtin %}}
## Start stuck on corp machine or with custom DNS