[Pdns-dev] PowerDNS Recursor 3.5-RC5 released!

Peter van Dijk peter.van.dijk at netherlabs.nl
Tue Apr 9 08:06:35 CEST 2013


Hello Justin,

On Apr 9, 2013, at 1:29 , justin at postgresql.org wrote:
> Seems ok (so far) on OSX, with one minor exception.
> 
> The "/etc/powerdns/recursor.conf" location for the config file
> is hardcoded, not allowing overrides.

Second report this week. Tempted to fix it for 3.5 but 'config file location' is a great way to break things for everybody.

> Originally (wrongly) thought it was from the Makefile:
> 
>  CONFIGDIR="/etc/powerdns/"

Yes, this is confusing. Apologies for that.

> But the value being used is the one in config.h, which makes more
> sense in hindsight (ie "embedded in the compiled executable"):

Yes, but the Makefile should take responsibility for passing CONFIGDIR on.

>  #define SYSCONFDIR "/etc/powerdns/"
> 
> In the short term it's easy to fix for OSX packaging by just
> patching config.h on the fly.
> 
> Not sure what the "proper" fix is though, so someone can adjust
> the location without needing to patch things before compiling. ;)
> 
> Anyone have suggestions?  Make adding a sed to the mock
> "configure" script. ?


Can you try:
- compiling without the sed
then
- see if using --config-dir in your startup script helps?

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/




More information about the Pdns-dev mailing list