From 63cd2b8e03e72332916a78b248f181c42213ae95 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Fri, 18 Oct 2024 22:23:28 +0200 Subject: [PATCH] nixos/bind: rndc-confgen should not chown file --- nixos/modules/services/networking/bind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index 50f267bc1f02..fdea3176c1a7 100644 --- a/nixos/modules/services/networking/bind.nix +++ b/nixos/modules/services/networking/bind.nix @@ -265,7 +265,7 @@ in preStart = '' if ! [ -f "/etc/bind/rndc.key" ]; then - ${bindPkg.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null + ${bindPkg.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -a -A hmac-sha256 2>/dev/null fi '';