[Bug 403286] [NEW] mini-httpd sysv init script now requires bash

David Sugar david.sugar at canonical.com
Thu Jul 23 01:40:11 UTC 2009


Public bug reported:

Binary package hint: mini-httpd

The sysv style init script packaged with mini-httpd was changed between
Jaunty (1.19.8) and Karmic (1.19.9) to use "function".  Hence, it no
longer will run when /bin/sh = dash.  This I believe is a regression.
This may actually be a result of work done closing #500708 and #491083
in Debian upstream, as noted in
https://launchpad.net/ubuntu/karmic/+source/mini-httpd/1.19-9 and the
associated changelog.

There are two possible solutions.  We could look at using an upstart
description to start this service, and it is a good candidate for this,
or we could rollback/modify the init script so it works again with dash.
Given that "mini-httpd" is supposed to be a very lightweight http
server, for example for use on embedded targets, clearly it's init
script should not depend on bash.  Since this was a result of changes in
debian upstream and we sync this package, probably that is the logical
place to discuss this issue.  Right now, installing the package fails
because the init script fails for configure since /bin/sh is dash in
Karmic...

** Affects: mini-httpd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: karmic

-- 
mini-httpd sysv init script now requires bash
https://bugs.launchpad.net/bugs/403286
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list