lighttpd 1.4.19-5ubuntu4 i386 init script broken, fix suggested

Bug #329595 reported by jyio on 2009-02-15
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)
Daniel Hahler

Bug Description

Binary package hint: lighttpd

Upon upgrading the lighttpd package in Kubuntu 9.04, the service fails to start with the following message:

/etc/init.d/lighttpd: 36: function: not found
invoke-rc.d: initscript lighttpd, action "start" failed.

The following code starting on line 36:

function syntax_check
    DAEMON $DAEMON_OPTS -t || exit 1

should be changed to

syntax_check ()
    $DAEMON $DAEMON_OPTS -t || exit 1

to fix the problem.

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lighttpd - 1.4.19-5ubuntu5

lighttpd (1.4.19-5ubuntu5) jaunty; urgency=low

  * Fix bashism in init.d (LP: #329595)

 -- Daniel Hahler <email address hidden> Sun, 15 Feb 2009 23:53:19 +0100

Changed in lighttpd:
status: New → Fix Released
jyio (inportb) wrote :

thanks, but the bug wasn't completely fixed -- the DAEMON needs a $ in front too, as in $DAEMON

Daniel Hahler (blueyed) wrote :

OMG. Now comes the third upload for this. This time actually tested.
Sorry, and thanks.

Changed in lighttpd:
assignee: nobody → blueyed
status: Fix Released → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lighttpd - 1.4.19-5ubuntu6

lighttpd (1.4.19-5ubuntu6) jaunty; urgency=low

  * Finally provide what ~ubuntu3 should have been already, fixing
    another shell script error (LP: #329595)

 -- Daniel Hahler <email address hidden> Mon, 16 Feb 2009 20:37:19 +0100

Changed in lighttpd:
status: In Progress → Fix Released
jyio (inportb) wrote :

Thanks again; this one is perfect!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers