[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-25 Thread Andres E. Rodriguez Lazo
Attaching debdiff. ** Attachment added: "nginx.status.debdiff" http://launchpadlibrarian.net/16314274/nginx.status.debdiff ** Changed in: nginx (Ubuntu) Status: In Progress => Confirmed -- nginx init script should support the 'status' action https://bugs.launchpad.net/bugs/251985 You

[Bug 251985] Re: nginx init script should support the 'status' action

2008-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.6.31-2ubuntu2 --- nginx (0.6.31-2ubuntu2) intrepid; urgency=low * debian/control: Add Depend on lsb >= 3.2-14, which has the status_of_proc() function. * debian/init.d: - Add sourcing to '. /lib/lsb/init-functions' - Add the

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
** 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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-07-24 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Dear Daniel, I'm attaching the debdiff for karmic, which is re adding the status action, and other changes to close bugs LP: #308695 and LP: #346010. Once this hit to karmic, I'll be requesting and SRU to fix the status action on Jaunty. Would you please sponsor this upload? Thank you. Andres.

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
** Attachment removed: "nginx_0.7.59-1ubuntu1.debdiff" http://launchpadlibrarian.net/29900439/nginx_0.7.59-1ubuntu1.debdiff -- 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,

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
After doing some further testing and comparisons, dropping the "-p" (pidfile) param to status_of_proc() in karmic is not needed since it actually returns 3 (program is not running), when the service is stopped. This seems to be a problem with Jaunty, because in jaunty it returns 4 (program or serv

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-04 Thread Andres E. Rodriguez Lazo
Hello Michael, This problem is not actually with the nginx init script (or with the scripts of other packages). This is actually a problem of the /lib/lsb /init-functions script. The problem here seems to be that in the latest update of lsb for Jaunty and Hardy ( 4.0-0), which is the same version

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-05 Thread Michael H. Oshita
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

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-08 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/nginx -- 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 mailing list ubuntu-bugs@lists.ubuntu

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nginx - 0.7.59-1ubuntu1 --- nginx (0.7.59-1ubuntu1) karmic; urgency=low * Readd status action to init script: (LP: #251985) - debian/init.d: + Add sourcing to '. /lib/lsb/init-functions' + Add 'status' action. - debian/control: A

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Daniel Hahler
First of all, "status" is not supported anymore in Karmic! 0.6.31-2ubuntu2 (which introduced this fix) is not mentioned in the current (0.7.59-1) changelog either, this looks like it got accidentally lost. Then, about the patch from Michael, regarding the exit status on "status", it looks like a

[Bug 251985] Re: nginx init script should support the 'status' action

2009-08-01 Thread Andres E. Rodriguez Lazo
Hello Daniel, Sure thing. I'll look into getting this fixed. ** Changed in: nginx (Ubuntu) Status: Triaged => In Progress -- 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 B