Package: fwknop-server Version: 1.9.9-1 Severity: minor Tags: patch Eggert Ehmke reported the following bug:
---- I changed the option in /etc/fwknop/fwknop.conf from ALERTING_METHODS ALL; to ALERTING_METHODS noemail; When I now restart fwknopd, I get: $ sudo /etc/init.d/fwknop restart Odd number of elements in anonymous hash at /usr/sbin/fwknopd line 4581. [+] knopwatchd is running (pid: 8063), stopping daemon [+] knoptm is running (pid: 8061), stopping daemon [+] fwknopd is running (pid: 8059), stopping daemon Starting the fwknop daemons. Odd number of elements in anonymous hash at /usr/sbin/fwknopd line 4581. [EMAIL PROTECTED]:/usr/local/src/fwknop-1.9.9$ Odd number of elements in anonymous hash at /usr/sbin/knoptm line 672. When I change the option back to the default, the message disappears. The function of fwknop seems not to be affected. --- This problem is fixed upstream. To get rid of the error you can apply the enclosed patch. Regards, -- Franck Joncourt http://debian.org - http://smhteam.info/wiki/ Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
diff --git a/fwknopd b/fwknopd index 75df23f..75871a8 100755 --- a/fwknopd +++ b/fwknopd @@ -4578,7 +4578,7 @@ sub fwknop_init() { &check_commands({}, {'gpg' => '', 'gpg2' => '', 'mail' => ''}); unless ($use_sendmail) { - &check_commands({'mail'}, {}); + &check_commands({'mail' => ''}, {}); } } diff --git a/knoptm b/knoptm index b5aa89c..418c301 100755 --- a/knoptm +++ b/knoptm @@ -669,7 +669,7 @@ sub knoptm_init() { &check_commands({}, {'gpg' => '', 'gpg2' => '', 'mail' => ''}); unless ($use_sendmail) { - &check_commands({'mail'}, {}); + &check_commands({'mail' => ''}, {}); } unless ($debug) {
signature.asc
Description: OpenPGP digital signature