https://bugzilla.novell.com/show_bug.cgi?id=741470 https://bugzilla.novell.com/show_bug.cgi?id=741470#c0 Summary: fail2ban Munin plugin error with bash string substitution Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: opensuse@haronmedia.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 fail2ban Munin plugin does not work because it breaks fail2ban jail names with invalid string substitution, possibly because of Bash version (4.2.10 on OpenSuse 12.1)? I did not check Bash changelogs, but same plugin on Debian works okay (Bash 4.1.5). As the result of broken jail names (' is appended in list_jails(), then substituted for _ in values() and config()), the status per jail does not exist because of wrong jail name. Line 73, here's the problem: printf "${line//,/$'\n'}\n" This works: printf "${line//,/\n}\n" Reproducible: Always Steps to Reproduce: 1. Install munin-node 2. Install fail2ban, enable some jails 3. bash /usr/lib/munin/plugins/fail2ban Actual Results: no output, should list each jail with number of bans (Even if 0) Expected Results: one jail with number of bans per line -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.