From: Mark Wooding Date: Thu, 26 Mar 2015 02:09:27 +0000 (+0000) Subject: zoneconf.in: Set up a temporary directory when signing. X-Git-Url: https://git.distorted.org.uk/~mdw/zoneconf/commitdiff_plain/bb07f2baa9f54c613f5d706d49c7427bc9ff5b2a zoneconf.in: Set up a temporary directory when signing. Apparently it's needed sometimes. --- 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) {