← Back to team overview

touch-packages team mailing list archive

[Bug 1346646] [NEW] init-functions: status_of_proc has incorrect call to pidofproc

 

Public bug reported:

Description:    Ubuntu 12.04.4 LTS
Release:        12.04

lsb-base:
  Installed: 4.0-0ubuntu20.3
  Candidate: 4.0-0ubuntu20.3
  Version table:
 *** 4.0-0ubuntu20.3 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.0-0ubuntu20 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


Appears that the status_of_proc() function in /lib/lsb/init-functions incorrectly calls pidofproc.  pidofproc requires a -p switch to specify a pidfile.

** Affects: lsb (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "A proposed patch"
   https://bugs.launchpad.net/bugs/1346646/+attachment/4159596/+files/init-functions.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1346646

Title:
  init-functions: status_of_proc has incorrect call to pidofproc

Status in “lsb” package in Ubuntu:
  New

Bug description:
  Description:    Ubuntu 12.04.4 LTS
  Release:        12.04

  lsb-base:
    Installed: 4.0-0ubuntu20.3
    Candidate: 4.0-0ubuntu20.3
    Version table:
   *** 4.0-0ubuntu20.3 0
          500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       4.0-0ubuntu20 0
          500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  
  Appears that the status_of_proc() function in /lib/lsb/init-functions incorrectly calls pidofproc.  pidofproc requires a -p switch to specify a pidfile.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1346646/+subscriptions


Follow ups

References