rndc key can't be generated during first time named service start<br />
<br />
# /etc/init.d/named restart<br />
Stopping named: [ OK ]<br />
Generating /etc/rndc.key:<br />
<br />
<br />
# rpm -qa | grep -i bind<br />
bind-libs-9.8.2-0.10.rc1.el6_3.5.i686<br />
bind-9.8.2-0.10.rc1.el6_3.5.i686<br />
<br />
<br />
It has to be fixed in RHEL6, as mentioned here <a href="https://bugzilla.redhat.com/show_bug.cgi?id=768798">https://bugzilla.redhat.com/show_bug.cgi?id=768798</a> [<a href="https://bugzilla.redhat.com/show_bug.cgi?id=768798" target="_blank">^</a>] with version version bind-9.8.2-0.10.rc1 . I have the same version installed on 2 different CentOS boxes but on both have the same problem.<br />
<br />
Fix is to add "-r /dev/urandom" into init script<br />
<br />
vim +112 /etc/init.d/named<br />
+if /usr/sbin/rndc-confgen -a -r /dev/urandom > /dev/null 2>&1; then
↧