mini-httpd sysv init script now requires bash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mini-httpd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
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:/
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...
Related branches
tags: |
added: packaging removed: karmic |
Changed in mini-httpd (Ubuntu): | |
status: | New → Confirmed |
A temporary fix for the init script issue for karmic, and a patch for a compile issue with latest gcc/glibc, attached for sponsorship.