4452. [bug] The default key manager policy file is now

<sysdir>/dnssec-policy.conf (usually
                        /etc/dnssec-policy.conf). [RT #43064]

(cherry picked from commit e09f18e349)
This commit is contained in:
Mark Andrews
2016-08-25 09:41:50 +10:00
parent 65a3f63297
commit 2be9d18ee9
3 changed files with 9 additions and 4 deletions

View File

@@ -109,7 +109,8 @@ def parse_args():
if not os.path.exists(args.policyfile):
fatal('ERROR: Policy file "%s" not found' % args.policyfile)
else:
args.policyfile = os.path.join(utils.sysconfdir, 'policy.conf')
args.policyfile = os.path.join(utils.sysconfdir,
'dnssec-policy.conf')
if not os.path.exists(args.policyfile):
args.policyfile = None