diff options
author | Lucas Savva <lucas@m1cr0man.com> | 2019-06-10 23:52:50 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-06-11 09:05:56 +0200 |
commit | 24e974b904b29413a9a0ca26999102d77203e607 (patch) | |
tree | 2436c874158e2c28cb4f8b95b1f66339068f0c11 /nixos/modules | |
parent | f7bbb18f83f46b6e95663469e06ece2d2aba854c (diff) |
bind: Remove deprecated flag from rndc-confgen
Fixes bind.service startup issue after NixOS/nixpkgs#61619
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/bind.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index 98486cefd528..7f89cff22329 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 |