]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4452. [bug] The default key manager policy file is now
authorMark Andrews <marka@isc.org>
Wed, 24 Aug 2016 23:41:50 +0000 (09:41 +1000)
committerMark Andrews <marka@isc.org>
Wed, 24 Aug 2016 23:53:33 +0000 (09:53 +1000)
                        <sysdir>/dnssec-policy.conf (usually
                        /etc/dnssec-policy.conf). [RT #43064]

(cherry picked from commit e09f18e34974ab4ee2008984e20f2d64ed443013)

CHANGES
bin/python/dnssec-keymgr.docbook
bin/python/isc/keymgr.py.in

diff --git a/CHANGES b/CHANGES
index 2319ed9cc37cc268513e110a4ccae262fcaae128..ff34e5dd65ae3cfd35dd62f3f657a53e2b9d582a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
        --- 9.11.0rc1 released ---
 
+4452.  [bug]           The default key manager policy file is now
+                       <sysdir>/dnssec-policy.conf (usually
+                       /etc/dnssec-policy.conf). [RT #43064]
+
 4451.   [cleanup]       Log more useful information if a PKCS#11 provider
                        library cannot be loaded. [RT #43076]
 
index 86a1cbc430d1e3860cd4e5d78b1a35749e1d0627..685b0730ad85cf5ca42b3d21095782fef909e707 100644 (file)
@@ -60,7 +60,7 @@
     </para>
     <para>
       DNSSEC policy can be read from a configuration file (default
-      <filename>/etc/dnssec.policy</filename>), from which the key
+      <filename>/etc/dnssec-policy.conf</filename>), from which the key
       parameters, publication and rollover schedule, and desired
       coverage duration for any given zone can be determined.  This
       file may be used to define individual DNSSEC policies on a
             If <option>-c</option> is specified, then the DNSSEC
             policy is read from <option>file</option>.  (If not
             specified, then the policy is read from
-            <filename>/etc/policy.conf</filename>; if that file
+            <filename>/etc/dnssec-policy.conf</filename>; if that file
             doesn't exist, a built-in global default policy is used.)
           </para>
         </listitem>
 
   <refsection><info><title>POLICY CONFIGURATION</title></info>
     <para>
-      The <filename>policy.conf</filename> file can specify three kinds
+      The <filename>dnssec-policy.conf</filename> file can specify three kinds
       of policies:
     </para>
     <itemizedlist>
index 702f1ace6c6f206d8e577199738ada88df0b46ed..98c003f8e26cec221391f5bb66257e5147ce5fb2 100644 (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