From 24e974b904b29413a9a0ca26999102d77203e607 Mon Sep 17 00:00:00 2001 From: Lucas Savva Date: Mon, 10 Jun 2019 23:52:50 +0100 Subject: bind: Remove deprecated flag from rndc-confgen Fixes bind.service startup issue after NixOS/nixpkgs#61619 --- nixos/modules/services/networking/bind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services') 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 -- cgit 1.4.1