Can some ports install config files inside '/usr/local/etc'?

Daniel J. Luke dluke at
Sat Dec 11 05:23:20 UTC 2021

On Dec 11, 2021, at 12:11 AM, fgyamauti2 fgyamauti2 <fgyamauti2 at> wrote:
>  Apparently some ports that I've installed are making directories inside '/usr/local/etc' with example configuration files. Still the installed ports themselves seem to only listen to stuff inside '/opt/local/etc'.

They shouldn't be.

>   For instance, I have an 'unbound' folder inside both. In the former, it contains 'unbound.config', while in the latter it contains 'root.key' and 'unsound.config-dist' (a file with contents identical to 'unbound.config'). That seems to happen to particular ports only, though. Anyone experiencing that? Are these folders really unnecessary?

On my system(s) the unbound port does not create anything in /usr/local/etc

`port contents unbound` doesn't show any unusual files and I don't see any part of the portfile that would be doing that on your system.

Daniel J. Luke

More information about the macports-users mailing list