I'm using a Mac Studio in a homelab context and use Homebrew to manage the installed services. The services include things that access the local network, for example Prometheus which monitors some other servers, a reverse proxy which fronts other web services on the network, and a DNS server which can use another as upstream.
Local Network Access permissions make it impossible to reliably perform unattended updates of services because an updated binary requires a GUI login to grant local network permissions (again).
I use brew services
to manage the services as launchd agents, i.e. they run in a non-root GUI context. I know that I can also use sudo brew services
which instead installs the services as launchd daemons, but running services as root
has negative security implication and generally doesn't look like a good idea to me.
If only there was a way to disable local network access checks altogether…
If only there was a way to disable local network access checks altogether
If only |-:
I recommend that you have a read through TN3179 Understanding local network privacy, just to confirm your understanding of the current state of affairs. If you still can’t find a solution that meets your requirement, you absolutely should file an enhancement request about this.
Please post your bug number, just for the record.
In the meantime, you should look to see if Homebrew has mechanism to sign code with a stable code-signing identity. If it does, then you should be abel to grant access once and have it persist across updates.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"