chiark / gitweb /
zoneconf.in: Set up a temporary directory when signing.
[zoneconf] / zoneconf.in
index 137c2b5e67fd4e0ec438cf45265f117bf9dc1b73..541c019a624e373346f46d4d9e1a4f8f4dcc495a 100755 (executable)
@@ -1511,6 +1511,10 @@ defcmd sign {} {
   ## Read the configuration.
   isolate [list confspc-eval toplevel [list source $CONFFILE]]
 
+  ## Sometimes `dnssec-signzone' tries to write temporary files to the
+  ## current directory.  Make sure this is sensible.
+  temporary-directory
+
   ## Grind through all of the zones.
   array unset seen
   foreach view $ZONECFG(all-views) {