summary refs log tree commit diff
path: root/nixos/modules/services/networking/bind.nix
diff options
context:
space:
mode:
authorLucas Savva <lucas@m1cr0man.com>2019-06-10 23:52:50 +0100
committerVladimír Čunát <v@cunat.cz>2019-06-11 09:05:56 +0200
commit24e974b904b29413a9a0ca26999102d77203e607 (patch)
tree2436c874158e2c28cb4f8b95b1f66339068f0c11 /nixos/modules/services/networking/bind.nix
parentf7bbb18f83f46b6e95663469e06ece2d2aba854c (diff)
downloadnixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar.gz
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar.bz2
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar.lz
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar.xz
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.tar.zst
nixpkgs-24e974b904b29413a9a0ca26999102d77203e607.zip
bind: Remove deprecated flag from rndc-confgen
Fixes bind.service startup issue after NixOS/nixpkgs#61619
Diffstat (limited to 'nixos/modules/services/networking/bind.nix')
-rw-r--r--nixos/modules/services/networking/bind.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix
index 98486cefd52..7f89cff2232 100644
--- a/nixos/modules/services/networking/bind.nix
+++ b/nixos/modules/services/networking/bind.nix
@@ -184,7 +184,7 @@ in
       preStart = ''
         mkdir -m 0755 -p /etc/bind
         if ! [ -f "/etc/bind/rndc.key" ]; then
-          ${pkgs.bind.out}/sbin/rndc-confgen -r /dev/urandom -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
+          ${pkgs.bind.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
         fi
 
         ${pkgs.coreutils}/bin/mkdir -p /run/named