Bug 603 - unbound-checkconf -o <option> should skip verification checks
unbound-checkconf -o <option> should skip verification checks
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
Other Linux
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-17 16:00 CEST by Floris Bos
Modified: 2014-08-18 09:21 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Floris Bos 2014-08-17 16:00:06 CEST
It would be nice if extensive verification is skipped when querying unbound.conf options with "unbound-checkconf -o <option>" 

Use case: being able to call "unbound-checkconf -o auto-trust-anchor-file" in the startup script to check if an auto-trust-anchor-file is specified in the configuration, for the purpose of deciding whether or not it makes sense to run unbound-anchor prior to starting unbound.

Currently this fails with an "unbound-checkconf: fatal error: auto-trust-anchor-file does not exist in chrootdir" error if the file specified doesn't exist yet.
Comment 1 Wouter Wijngaards 2014-08-18 09:21:07 CEST
Hi Floris,

Fixed, thank you for reportingt his enhancement :-)

Best regards,
   Wouter