Hi Andres,
As you proposed, I tested Karmic's init-functions script by replacing it
with Jaunty's, and this does indeed seem to fix the status problem I was
encountering. Thanks for looking into this.
I'll be looking forward for a fix in Jaunty soon.
=)
--
nginx init script should support the
Andres,
Yes, that was the problem I was having in Jaunty, returning 4 instead of 3.
This makes heartbeat fail the monitor action.
I did have look at /lib/lsb/init-functions, but wasn't sure of the implications
it would have
for other programs, so I referred to how status_of_proc was used (withou
Calling the status action returns 4 (program or service is unknown) when
the service is stopped.
This needs to return 3 (program is not running) to be LSB compatible in order to
function properly as a LSB Resource Agent in HA (heartbeat).
ref:
http://www.linux-ha.org/LSBResourceAgent
** Attachme
** Changed in: nginx (Ubuntu)
Status: Fix Released => Incomplete
--
nginx init script should support the 'status' action
https://bugs.launchpad.net/bugs/251985
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailin