Skip to content

Commit 8ec5ab5

Browse files
author
Till Brehm
committed
Merge branch 'master' into 'stable-3.1'
updated installer and updater - detect which and haveged (Fixes: #3843 and #3840) See merge request !324
2 parents 7198764 + ead7ad9 commit 8ec5ab5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

install/install.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@
140140
//****************************************************************************************************
141141
$inst = new installer();
142142
if (!$inst->get_php_version()) die('ISPConfig requieres PHP '.$inst->min_php."\n");
143+
$retval=shell_exec("which which");
144+
if (empty($retval)) die ("ISPConfig requieres which \n");
143145

144146
swriteln($inst->lng(' Following will be a few questions for primary configuration so be careful.'));
145147
swriteln($inst->lng(' Default values are in [brackets] and can be accepted with <ENTER>.'));
@@ -347,6 +349,9 @@
347349
swriteln('Configuring BIND');
348350
$inst->configure_bind();
349351
$conf['services']['dns'] = true;
352+
if(!$inst->find_installed_apps('haveged')) {
353+
swriteln("[INFO] haveged not detected - DNSSEC can fail");
354+
}
350355
}
351356
//* Configure MyDNS
352357
if($conf['mydns']['installed']) {
@@ -727,6 +732,9 @@
727732
swriteln('Configuring BIND');
728733
$inst->configure_bind();
729734
$conf['services']['dns'] = true;
735+
if(!$inst->find_installed_apps('haveged')) {
736+
swriteln("[INFO] haveged not detected - DNSSEC can fail");
737+
}
730738
}
731739
//* Configure MyDNS
732740
if($conf['mydns']['installed']) {

install/update.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,9 @@
378378
} elseif($conf['bind']['installed'] == true) {
379379
swriteln('Configuring BIND');
380380
$inst->configure_bind();
381+
if(!$inst->find_installed_apps('haveged')) {
382+
swriteln("[INFO] haveged not detected - DNSSEC can fail");
383+
}
381384
} else {
382385
swriteln('Configuring MyDNS');
383386
$inst->configure_mydns();

0 commit comments

Comments
 (0)