[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-24 Thread Launchpad Bug Tracker
This bug was fixed in the package lsb - 4.0-0ubuntu8.1 --- lsb (4.0-0ubuntu8.1) lucid-proposed; urgency=low * If a pidfile is specified, but doesn't provide a PID to test, return 'not running', and return 'unknown' if the pidfile exists but is unreadable (LP: #683640) --

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-24 Thread Adam Conrad
Fixed in precise in version 4.0-0ubuntu20.2 ** Changed in: lsb (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-23 Thread Adam Conrad
Verified that this does what it's meant to on precise. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-23 Thread Scott Kitterman
** Tags removed: verification-done ** Tags added: verification-done-precise verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-11 Thread Psi-Jack
No, actually, I'm following the LSB standards to the T. You are correct in the fact, a process COULD be run under a different name, and for those cases, status_of_proc should be able to be alerted to that name, such as -n processname, but pid files being weighted more authority than an actual

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-11 Thread Jeff Licquia
For the record, #lsb is not as unanimous as has been implied. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-11 Thread Psi-Jack
Here's a run-down of the overall problem I'm seeing about how this is being done, implicitly relying on pidfiles: Say you're running apache by init.d scripts (which Ubuntu does), and it uses status_of_proc to get the status: status_of_proc -p /var/run/apache.pid $DAEMON $NAME status_of_proc

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-11 Thread Psi-Jack
Adam, dug more into the lsb spec, and found this: http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core- generic/iniscrptfunc.html So, in technicality, the script does as specified under that determination, making a pid file always outweight validity of any kind, so this is a

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/lucid/lsb/lucid-proposed ** Branch linked: lp:~ubuntu-branches/ubuntu/precise/lsb/precise- proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Psi-Jack
Adam, I looked at the patch #22, and though logically it's accurate, but it's not at the same time. If the pid file exists but doesn't have the correct information, or any information, pidof should be failed back to check if it literally is running or not directly, not just up and return error

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Psi-Jack
Also noticed: +if [ -e $pidfile -a ! -r $pidfile ]; then Should be -f, then -r, not -e. It should exist AND be a regular file (not a symlink, device node, pipe, etc) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Conrad
Psi-Jack, you're misreading LSB, and also not considering daemons that can change their names on exec, etc. If we specify a pidfile, that's ALL we should be checking. 0, 1, 3, and 4 are clearly defined returns for this: 0: we have a file, it has a PID, the daemon is running. 1: the file exists,

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Stokes
** Patch removed: lsb_4.0-0ubuntu20.1.precise.debdiff https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/683640/+attachment/3328535/+files/lsb_4.0-0ubuntu20.1.precise.debdiff ** Patch added: lsb_4.0-0ubuntu20.1.precise.debdiff

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Stokes
Here is some test output running with latest patched lsb from comment #20 running processes: 0 pidfiles: 0 /var/run/simplebin.pid /usr/sbin/simplebin simplebin returncode pidofproc: 3 * simplebin is not running returncode status_of_proc: 3 This latest code *should* do what is expected. Thanks

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Stokes
** Patch removed: lsb_4.0-0ubuntu20.1.precise.debdiff https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/683640/+attachment/3393522/+files/lsb_4.0-0ubuntu20.1.precise.debdiff ** Patch added: lsb_4.0-0ubuntu20.1.precise.debdiff

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Conrad
Upload sponsored with a slightly tweaked changelog. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-10 Thread Adam Conrad
Hello Psi-Jack, or anyone else affected, Accepted lsb into lucid-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lsb/4.0-0ubuntu8.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-10-08 Thread Martin Pitt
Sponsored to precise-proposed, unsubscribing sponsors. ** Changed in: lsb (Ubuntu Natty) Status: Confirmed = Won't Fix ** Changed in: lsb (Ubuntu Oneiric) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-09-26 Thread Adam Stokes
** Description changed: Binary package hint: lsb - When status_of_proc is called with -p $PIDFILE and the service is not - presently started, error code 4 is always returned because the process - does not have the PID file existant until it is started, and it's - deleted after stopping. +

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-09-21 Thread Adam Stokes
** Patch added: lsb_4.0-0ubuntu20.1.precise.debdiff https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/683640/+attachment/3328535/+files/lsb_4.0-0ubuntu20.1.precise.debdiff ** Changed in: lsb (Ubuntu Precise) Assignee: (unassigned) = Adam Stokes (adam-stokes) ** Changed in: lsb (Ubuntu

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-09-21 Thread Adam Stokes
** Changed in: lsb (Ubuntu Precise) Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-08-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lsb (Ubuntu Oneiric) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-08-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lsb (Ubuntu Natty) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-08-14 Thread Launchpad Bug Tracker
This bug was fixed in the package lsb - 4.0-0ubuntu23 --- lsb (4.0-0ubuntu23) quantal; urgency=low * Fix status_of_proc returning incorrect error code (LP: #683640) -- Adam Stokes adam.sto...@canonical.com Tue, 24 Jul 2012 13:26:54 -0700 ** Changed in: lsb (Ubuntu Quantal)

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-07-24 Thread Adam Stokes
** Branch linked: lp:~adam-stokes/ubuntu/quantal/lsb/lp68340-fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-07-13 Thread Adam Stokes
This won't make .1 and I'll flag it for .2 ** Changed in: lsb (Ubuntu Precise) Milestone: ubuntu-12.04.1 = ubuntu-12.04.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-07-12 Thread Stéphane Graber
Adam: are you working on this one? will it make it to the point release? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-21 Thread Steve Langasek
** Tags added: rls-q-notfixing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this bug go to:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** Changed in: lsb (Ubuntu) Milestone: None = ubuntu-12.04.1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Also affects: bind9 (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: dovecot (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: lsb (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: rsync (Ubuntu Lucid)

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: bind9 (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: bind9 (Ubuntu Natty) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Quantal) Milestone: ubuntu-12.04.1 = None -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: dovecot (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: bind9 (Ubuntu Natty) ** No longer affects: bind9 (Ubuntu Oneiric) ** No longer affects: bind9 (Ubuntu Precise) ** No longer affects: bind9 (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Precise) Status: New = Confirmed ** Changed in: lsb (Ubuntu Precise) Milestone: None = ubuntu-12.04.1 ** Changed in: lsb (Ubuntu Precise) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: dovecot (Ubuntu Natty) ** No longer affects: dovecot (Ubuntu Oneiric) ** No longer affects: dovecot (Ubuntu Precise) ** No longer affects: dovecot (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Oneiric) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Lucid) ** No longer affects: openbsd-inetd (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Precise) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Lucid) Importance: Undecided = Medium ** Changed in: lsb (Ubuntu Lucid) Status: New = Confirmed ** No longer affects: spamassassin (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Quantal) ** No longer affects: openvpn (Ubuntu Lucid) ** No longer affects: openvpn (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: spamassassin (Ubuntu Precise) ** No longer affects: openvpn (Ubuntu Oneiric) ** No longer affects: openvpn (Ubuntu Precise) ** No longer affects: openvpn (Ubuntu Quantal) ** No longer affects: rsync (Ubuntu Lucid) ** No longer affects: rsync (Ubuntu Natty) ** No longer

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Oneiric) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: rsync (Ubuntu) ** No longer affects: openvpn (Ubuntu) ** No longer affects: bind9 (Ubuntu) ** No longer affects: dovecot (Ubuntu) ** No longer affects: openbsd-inetd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** Changed in: lsb (Ubuntu) Milestone: None = ubuntu-12.04.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Also affects: bind9 (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: dovecot (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: lsb (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: rsync (Ubuntu Lucid)

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: bind9 (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this bug go

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: dovecot (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this bug go

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Precise) Status: New = Confirmed ** Changed in: lsb (Ubuntu Precise) Milestone: None = ubuntu-12.04.1 ** Changed in: lsb (Ubuntu Precise) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Quantal) Milestone: ubuntu-12.04.1 = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: bind9 (Ubuntu Natty) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: bind9 (Ubuntu Natty) ** No longer affects: bind9 (Ubuntu Oneiric) ** No longer affects: bind9 (Ubuntu Precise) ** No longer affects: bind9 (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: dovecot (Ubuntu Natty) ** No longer affects: dovecot (Ubuntu Oneiric) ** No longer affects: dovecot (Ubuntu Precise) ** No longer affects: dovecot (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this bug go

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Lucid) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Lucid) ** No longer affects: openbsd-inetd (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Precise) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: spamassassin (Ubuntu Precise) ** No longer affects: openvpn (Ubuntu Oneiric) ** No longer affects: openvpn (Ubuntu Precise) ** No longer affects: openvpn (Ubuntu Quantal) ** No longer affects: rsync (Ubuntu Lucid) ** No longer affects: rsync (Ubuntu Natty) ** No longer

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Oneiric) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Adam Stokes
** No longer affects: openbsd-inetd (Ubuntu Quantal) ** No longer affects: openvpn (Ubuntu Lucid) ** No longer affects: openvpn (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** Changed in: lsb (Ubuntu Lucid) Importance: Undecided = Medium ** Changed in: lsb (Ubuntu Lucid) Status: New = Confirmed ** No longer affects: spamassassin (Ubuntu Quantal) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: spamassassin (Ubuntu Oneiric) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code To manage notifications about this

[Bug 683640] Re: status_of_proc is returning incorrect error code

2012-06-18 Thread Chris J Arges
** No longer affects: rsync (Ubuntu) ** No longer affects: openvpn (Ubuntu) ** No longer affects: bind9 (Ubuntu) ** No longer affects: dovecot (Ubuntu) ** No longer affects: openbsd-inetd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-11-11 Thread Nicola
same in oneiric, corosync is in main and cannot use init script as lsb resource, please fix! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-11-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lsb (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-11-11 Thread Nicola
same in oneiric, corosync is in main and cannot use init script as lsb resource, please fix! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-11-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: lsb (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title:

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-05-04 Thread ServerAlex
also affects lucid. please fix! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code -- Ubuntu-server-bugs mailing list

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-05-04 Thread ServerAlex
also affects lucid. please fix! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code -- ubuntu-bugs mailing list

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-04-13 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code -- Ubuntu-server-bugs mailing list

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-04-13 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect error code -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-04-12 Thread Chad Netzer
In order to get my Pacemaker/Corosync lsb resources working correctly, I applied a modified version of Psi-Jack's patch. I'm not sure why he removed the setting of the specified local var, but I left that in because I have resources that specify their own path to a pidfile. However, I

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-04-12 Thread Chad Netzer
In order to get my Pacemaker/Corosync lsb resources working correctly, I applied a modified version of Psi-Jack's patch. I'm not sure why he removed the setting of the specified local var, but I left that in because I have resources that specify their own path to a pidfile. However, I

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-02-01 Thread C de-Avillez
@Psi-Jack: they are affected by the error on status_of_proc, but there is nothing to fix for them. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-02-01 Thread C de-Avillez
Raising to Medium importance. @Psi-Jack: can you please add your patch as an attachment? ** Changed in: lsb (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-02-01 Thread C de-Avillez
@Psi-Jack: they are affected by the error on status_of_proc, but there is nothing to fix for them. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/683640 Title: status_of_proc is returning incorrect

[Bug 683640] Re: status_of_proc is returning incorrect error code

2011-02-01 Thread C de-Avillez
Raising to Medium importance. @Psi-Jack: can you please add your patch as an attachment? ** Changed in: lsb (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
** Also affects: dovecot (Ubuntu) Importance: Undecided Status: New ** Also affects: bind9 (Ubuntu) Importance: Undecided Status: New ** Also affects: openbsd-inetd (Ubuntu) Importance: Undecided Status: New ** Also affects: rsync (Ubuntu) Importance: Undecided

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Serge Hallyn
Thanks for reporting this bug and helping to make Ubuntu better. It seems to me that /init/lsb/init-functions belongs to the lsb-base package, so if this is a bug, it should be filed against that package. ** Changed in: bind9 (Ubuntu) Status: New = Invalid ** Changed in: dovecot

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
Well, according to ubuntu-bug -p lsb-base, it filed it on lsb because lsb is the /source/ package. And why did you mark all the other packages I had associated it to as invalid? They are /ALL/ effected by this exact same thing, which is how I found it in the first place. -- status_of_proc is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
-- status_of_proc is returning incorrect error code https://bugs.launchpad.net/bugs/683640 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.com

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
This bug effects: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/683650 -- status_of_proc is returning incorrect error code https://bugs.launchpad.net/bugs/683640 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
As per LSB Init compliancy: If the status action is requested, the init script will return the following exit status codes. 0 program is running or service is OK 1 program is dead and /var/run pid file exists 2 program is dead and /var/lock lock file exists 3 program is

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
This patch, applied to /lib/lsb/init-functions resolves the problem by: 1 Allowing pid detection to check directly by pid if the process is in fact running. 2 Allowing pid detection to check for stale pid files. 3 Failing over to pidof detection to find the parent pid (ppid) of the process if it

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
** Also affects: dovecot (Ubuntu) Importance: Undecided Status: New ** Also affects: bind9 (Ubuntu) Importance: Undecided Status: New ** Also affects: openbsd-inetd (Ubuntu) Importance: Undecided Status: New ** Also affects: rsync (Ubuntu) Importance: Undecided

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
** Also affects: openvpn (Ubuntu) Importance: Undecided Status: New -- status_of_proc is returning incorrect error code https://bugs.launchpad.net/bugs/683640 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Serge Hallyn
Thanks for reporting this bug and helping to make Ubuntu better. It seems to me that /init/lsb/init-functions belongs to the lsb-base package, so if this is a bug, it should be filed against that package. ** Changed in: bind9 (Ubuntu) Status: New = Invalid ** Changed in: dovecot

[Bug 683640] Re: status_of_proc is returning incorrect error code

2010-12-01 Thread Psi-Jack
Well, according to ubuntu-bug -p lsb-base, it filed it on lsb because lsb is the /source/ package. And why did you mark all the other packages I had associated it to as invalid? They are /ALL/ effected by this exact same thing, which is how I found it in the first place. -- status_of_proc is