Bug 1224 - Defaults should not fall back to "Program Files (x86) if Unbound is 64bit by default
Defaults should not fall back to "Program Files (x86) if Unbound is 64bit by ...
Product: unbound
Classification: Unclassified
Component: server
x86_64 Windows
: P5 enhancement
Assigned To: unbound team
Depends on:
  Show dependency treegraph
Reported: 2017-02-22 07:28 CET by drahnier
Modified: 2017-02-23 09:11 CET (History)
2 users (show)

See Also:

everything "Program Files (x86)' (280.11 KB, image/png)
2017-02-23 01:49 CET, drahnier

Note You need to log in before you can comment on or make changes to this bug.
Description drahnier 2017-02-22 07:28:23 CET
For example: 'unbound-control', if not being passed a "-c <configfile>", looks for a config file at "C:\Program Files (x86)\Unbound\service.conf".

The default installation path for everything 64 bit is " ...\Program Files\ ...", not "...\Program Files (x86)\ ..." in 64bit Windows.
Comment 1 Wouter Wijngaards 2017-02-22 08:32:18 CET
Hi Drahnier,

Fixed.  Turns out this path is set in configure when windows is the build target (with the x86 in it).  Set that to the right path.

Thanks for the report,

Best regards, Wouter
Comment 2 drahnier 2017-02-23 01:49:54 CET
Created attachment 374 [details]
everything "Program Files (x86)'

Just to make sure, the "fix" covers everything related to 'Program Files (x86)', for example, such as what can be seen in the attached screenshot.
Comment 3 Wouter Wijngaards 2017-02-23 09:11:01 CET
Hi Drahnier,

Yes that bit should be fixed (but the screenshot is useful because that usage printout is there to print those builtin path defaults).

Best regards, Wouter