A. Täffner
2016-04-11 2d9676a12316f4586dae5dccc35e0ac9853ee2aa
oops
1 files modified
4 ■■■■ changed files
server/plugins-available/bind_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/bind_plugin.inc.php
@@ -94,8 +94,8 @@
        
        //* Check Entropy
        if (file_get_contents('/proc/sys/kernel/random/entropy_avail') < 400) {
            $app->log('DNSSEC WARNING: We are low on entropy. This could cause server script to fail. Please consider installing package haveged.', LOGLEVEL_WARN);
            echo "DNSSEC WARNING: We are low on entropy. This could cause server script to fail. Please consider installing package haveged.\n"
            $app->log('DNSSEC ERROR: We are low on entropy. Not generating new Keys for '.$domain.'. Please consider installing package haveged.', LOGLEVEL_WARN);
            echo "DNSSEC ERROR: We are low on entropy. Not generating new Keys for $domain. Please consider installing package haveged.\n";
            return false;
        }