Your message dated Tue, 6 Jun 2006 11:07:22 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#370711: bashisms in init.d script, line 91
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: fail2ban
Version: 0.6.1-3

My /bin/sh points to /bin/dash.  When starting fail2ban with the init
script, I get the following error:
        /etc/init.d/fail2ban: 91: Syntax error: "(" unexpected

Changing the first line to "#!/bin/bash" fixes this problem.

    bma

-- 
Benjamin A'Lee <http://bmalee.eu/~bma/>
Secretary, TermiSoc <http://termisoc.org/>
"It couldn't be me and be her in between without you" - The Cure,
"Inbetween Days"

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Hi Martin,

This bashism was removed in 0.6.1-8 which has been in unstable for a few
days already. Thus I'm closing this bugreport. Thank you for boosting my
carma ;-) 

Relevant changelog is

 fail2ban  (0.6.1-8) unstable; urgency=low

   * Removed bashism (arrays) from init.d script to make it POSIX shell
     complient (closes: #368218)
   * Added new proftpd section
   * Added new saslauthd section. Thanks to martin f krafft
     <[EMAIL PROTECTED]> (closes: #369483)
   * Mentioned apache2 log file in Other. comment field for FILE in
     apache section.  Nothing has to be changed besides the logfile path to
     work with apache2 (closes: #342144)

 -- Yaroslav Halchenko <[EMAIL PROTECTED]>  Mon, 22 May 2006 15:37:17 -0400 

P.S. BTW I am closing "fixed" relevant NMU fixed (sponsor upload) bugs

> Please either get rid of the array and duplicate code, so that the
> script can be run with dash, or use /bin/bash in the first line
> (which would be acceptable but not preferable).
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]


Attachment: pgprGzHS7iIZx.pgp
Description: PGP signature


--- End Message ---

Reply via email to