https://bugs.contribs.org/show_bug.cgi?id=10644

--- Comment #3 from Michael McCarn <[email protected]> ---
Created attachment 6097
  --> https://bugs.contribs.org/attachment.cgi?id=6097&action=edit
diff -u /etc/e-smith/templates/etc/fail2ban/jail.conf/05IgnoreIP
/etc/e-smith/templates-custom/etc/fail2ban/jail.conf/05IgnoreIP

I found two problems:

1) hostname instead of IP in httpd-admin > AllowHosts
I was using a hostname in httpd-admin AllowHosts - which works for httpd, but
does not work in this case.

2) Something funny in 05IgnoreIP
I was still getting warnings about "$bits" on line 15 of 05IgnoreIP.  The
changes in the attached diff seem to eliminate the warnings.

expand-template /etc/fail2ban/jail.conf 
> WARNING in /etc/e-smith/templates-custom//etc/fail2ban/jail.conf/05IgnoreIP: 
> Use of uninitialized value $bits in concatenation (.) or string at 
> /etc/e-smith/templates-custom//etc/fail2ban/jail.conf/05IgnoreIP line 15.
> WARNING in /etc/e-smith/templates-custom//etc/fail2ban/jail.conf/05IgnoreIP: 
> Use of uninitialized value $bits in concatenation (.) or string at 
> /etc/e-smith/templates-custom//etc/fail2ban/jail.conf/05IgnoreIP line 15.
> WARNING: Template processing succeeded for //etc/fail2ban/jail.conf: 2 
> fragments generated warnings
>  at /sbin/e-smith/expand-template line 45

-- 
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