Bug#483285: lsb-base: lsb status_of_proc() function

2008-07-08 Thread Chris Lawrence
On Tue, Jul 8, 2008 at 10:15 PM, Dustin Kirkland <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-08 at 21:50 -0500, Chris Lawrence wrote: >> I will see what I can do, but I'm not the gatekeeper for whether or >> not it will actually make it in; lsb-base is already frozen, so the >> decision is above m

Bug#483285: lsb-base: lsb status_of_proc() function

2008-07-08 Thread Dustin Kirkland
On Tue, 2008-07-08 at 21:50 -0500, Chris Lawrence wrote: > I will see what I can do, but I'm not the gatekeeper for whether or > not it will actually make it in; lsb-base is already frozen, so the > decision is above my pay grade. Just to clarify, I'm looking for this to make it into 'unstable'.

Bug#483285: lsb-base: lsb status_of_proc() function

2008-07-08 Thread Chris Lawrence
On Tue, Jul 8, 2008 at 7:27 PM, Dustin Kirkland <[EMAIL PROTECTED]> wrote: > I have attached an updated patch for the status_of_proc() function, that > we're currently carrying in Ubuntu. > > I have replaced the call to pidofproc() with an invocation > of /bin/pidof. > > It seems that pidofproc() w

Bug#483285: lsb-base: lsb status_of_proc() function

2008-07-08 Thread Dustin Kirkland
Chris- I have attached an updated patch for the status_of_proc() function, that we're currently carrying in Ubuntu. I have replaced the call to pidofproc() with an invocation of /bin/pidof. It seems that pidofproc() will attempt to call "kill -0" on a pid, if a pidfile is found. This "kill" ope

Bug#483285: lsb-base: lsb status_of_proc() function

2008-06-13 Thread Dustin Kirkland
On Mon, 2008-06-09 at 21:16 -0500, Chris Lawrence wrote: > Thanks, Dustin. I'm holding off on integrating these patches until I > get 3.2-12 into testing; adding functionality would break the spirit > of the freeze, but I'll plan on getting status_of_proc() into unstable > soon after that migratio

Bug#483285: lsb-base: lsb status_of_proc() function

2008-06-09 Thread Chris Lawrence
On Mon, Jun 9, 2008 at 10:52 AM, Dustin Kirkland <[EMAIL PROTECTED]> wrote: > Another minor update to this patch, also in the vein of making it "set > -e" safe. > > These changes have been integrated into Ubuntu Intrepid. We thought you > might integrate them into Debian Unstable as well. Thanks,

Bug#483285: lsb-base: lsb status_of_proc() function

2008-06-09 Thread Dustin Kirkland
Another minor update to this patch, also in the vein of making it "set -e" safe. These changes have been integrated into Ubuntu Intrepid. We thought you might integrate them into Debian Unstable as well. :-Dustin --- lsb.unstable/lsb-3.2/init-functions 2008-05-01 10:07:37.0 -0500 +++ ls

Bug#483285: lsb-base: lsb status_of_proc() function

2008-06-04 Thread Dustin Kirkland
I have update the patch for this bug with two changes. The first makes killproc more "set -e" safe, by: +/bin/pidof -o %PPID $1 || status="$?" The second quotes "$status" and uses shell string comparisons rather than numerical comparisons. Surveying the rest of the init-functions scrip

Bug#483285: lsb-base: lsb status_of_proc() function

2008-05-27 Thread Dustin Kirkland
Package: lsb-base Version: 3.2-4 Severity: wishlist Tags: patch The Linux Standard Base init script specification: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html describes the status action in detail. In brief, it provides a centralized and direct w