From 9a4c60737b140cded7806c4d9561fd08c0d65d7e Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Thu, 7 Dec 2017 11:09:01 +0300 Subject: [PATCH] Fix lack of rndc.key in non-chrooted bind --- bind.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index 47a0123..eb371af 100644 --- a/bind.spec +++ b/bind.spec @@ -262,7 +262,7 @@ for n in localhost localdomain 127.in-addr.arpa empty; do done install -pm640 addon/rndc.key bind.keys %buildroot%_chrootdir%_sysconfdir/ -ln -snfr %buildroot%_sysconfdir/bind/{named.conf,bind.keys} \ +ln -snfr %buildroot%_sysconfdir/bind/{named.conf,bind.keys,rndc.key} \ %buildroot%_sysconfdir/ # Create symlinks for unchrooted bind. @@ -370,6 +370,7 @@ fi %_sysconfdir/bind %_sysconfdir/bind.keys %_sysconfdir/named.conf +%_sysconfdir/rndc.key %config %_initdir/bind %config %_sysconfdir/sysconfig/bind %config(noreplace) %_sysconfdir/rndc.conf -- 2.10.4