https://bugs.koozali.org/show_bug.cgi?id=11844

            Bug ID: 11844
           Summary: WARNING Command ['status', 'lemonldap'] has failed.
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-fail2ban
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Seen in log :
2022-01-08 01:12:02,943 fail2ban.transmitter    [1072]: WARNING Command
['status', 'lemonldap'] has failed. Received UnknownJailException('lemonldap',)

Seen in template :
[root@kooz1 ~]# cat
/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service40LemonLDAPNG 
{

my $status = ${'lemonldap'}{'status'} || 'disabled';
my $f2b = ${'lemonldap'}{'Fail2Ban'} || 'enabled';
return "" if (($status ne 'enabled') || ($f2b ne 'enabled'));
my @ports = ();
push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');
push @ports, ($modSSL{'TCPPort'} || '443');
my $port = join (",", @ports);

$OUT .=<<"EOF";

[lemonldap]
enabled  = true
filter   = lemonldap-ng
logpath  = /var/log/messages
action   = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF

$OUT .= "          
smeserver-sendmail[name=\"LemonLDAP::NG\",dest=$maildest]\n"
    if ($mail eq 'enabled');

}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to