From bb07f2baa9f54c613f5d706d49c7427bc9ff5b2a Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 26 Mar 2015 02:09:27 +0000 Subject: [PATCH] zoneconf.in: Set up a temporary directory when signing. Organization: Straylight/Edgeware From: Mark Wooding Apparently it's needed sometimes. --- zoneconf.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zoneconf.in b/zoneconf.in index 137c2b5..541c019 100755 --- a/zoneconf.in +++ b/zoneconf.in @@ -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) { -- [mdw]