Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2011 07:06:03 GMT
From:      Roland Behme <rb@nugman.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157868: Syntax error in /usr/local/etc/rc.d/mailman
Message-ID:  <201106140706.p5E763Jm063576@red.freebsd.org>
Resent-Message-ID: <201106140710.p5E7A7s5016051@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157868
>Category:       ports
>Synopsis:       Syntax error in /usr/local/etc/rc.d/mailman
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 14 07:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Roland Behme
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD james.nugman.de 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Feb 23 00:02:08 UTC 2011     root@i0103.twx.de:/usr/obj/usr/src/sys/VIMAGE  i386
>Description:
After upgrade to mailman-2.1.14_2 I get a syntax error in /usr/local/etc/rc.d/mailman:

/usr/local/etc/rc.d/mailman: 35: Syntax error: "(" unexpected (expecting "}")
>How-To-Repeat:
run '/usr/local/etc/rc.d/mailman [start|stop]'
>Fix:
There are two backslashes mssing. Correct would be:

mailman_stop() {
        [ -f $pidfile ] \
          && /usr/local/mailman/bin/mailmanctl -q stop \
          || echo ${name} not running? \(check ${pidfile}\)
}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106140706.p5E763Jm063576>