Commit 57e9825a authored by Florian Schaal's avatar Florian Schaal

Fixes: #3873

parent 08f1113d
...@@ -344,12 +344,13 @@ if($install_mode == 'standard') { ...@@ -344,12 +344,13 @@ if($install_mode == 'standard') {
$conf['services']['dns'] = true; $conf['services']['dns'] = true;
} }
*/ */
//* Configure Bind //* Configure Bind
if($conf['bind']['installed']) { if($conf['bind']['installed']) {
swriteln('Configuring BIND'); swriteln('Configuring BIND');
$inst->configure_bind(); $inst->configure_bind();
$conf['services']['dns'] = true; $conf['services']['dns'] = true;
if(!$inst->find_installed_apps('haveged')) { if(!is_installed('haveged')) {
swriteln("[INFO] haveged not detected - DNSSEC can fail"); swriteln("[INFO] haveged not detected - DNSSEC can fail");
} }
} }
...@@ -732,7 +733,7 @@ if($install_mode == 'standard') { ...@@ -732,7 +733,7 @@ if($install_mode == 'standard') {
swriteln('Configuring BIND'); swriteln('Configuring BIND');
$inst->configure_bind(); $inst->configure_bind();
$conf['services']['dns'] = true; $conf['services']['dns'] = true;
if(!$inst->find_installed_apps('haveged')) { if(!is_installed('haveged')) {
swriteln("[INFO] haveged not detected - DNSSEC can fail"); swriteln("[INFO] haveged not detected - DNSSEC can fail");
} }
} }
......
...@@ -378,7 +378,7 @@ if($reconfigure_services_answer == 'yes' || $reconfigure_services_answer == 'sel ...@@ -378,7 +378,7 @@ if($reconfigure_services_answer == 'yes' || $reconfigure_services_answer == 'sel
} elseif($conf['bind']['installed'] == true) { } elseif($conf['bind']['installed'] == true) {
swriteln('Configuring BIND'); swriteln('Configuring BIND');
$inst->configure_bind(); $inst->configure_bind();
if(!$inst->find_installed_apps('haveged')) { if(!is_installed('haveged')) {
swriteln("[INFO] haveged not detected - DNSSEC can fail"); swriteln("[INFO] haveged not detected - DNSSEC can fail");
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment