← Back to team overview

touch-packages team mailing list archive

[Bug 1398622] Re: killproc function in /lib/lsb/init-functions is returning wrong status

 

** Description changed:

  killproc function in /lib/lsb/init-functions is returning wrong status
  and pid file is not getting removed by this function.
- 
  
  The same issue can be observed with all below releases.
  
  $ cat /etc/issue
  Ubuntu 14.04 \n \l
  $ cat /etc/issue
  Ubuntu 13.04 \n \l
  $ cat /etc/issue
  Ubuntu 12.04 \n \l
  
+ Ubuntu is not killing the process, but returns 0.
+ 
+ But RedHat killproc makes sure that the process is dead before returning
+ 0 otherwise it returns 1.
+ 
+ Hint:
+ I think below command can help to find out the status of the process.
+ 
+ /sbin/start-stop-daemon --status $name_param || status="$?"
+ 
  Let me know if you need additional information on this bug.

-- 
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/1398622

Title:
  killproc function in /lib/lsb/init-functions is returning wrong status

Status in lsb package in Ubuntu:
  New

Bug description:
  killproc function in /lib/lsb/init-functions is returning wrong status
  and pid file is not getting removed by this function.

  The same issue can be observed with all below releases.

  $ cat /etc/issue
  Ubuntu 14.04 \n \l
  $ cat /etc/issue
  Ubuntu 13.04 \n \l
  $ cat /etc/issue
  Ubuntu 12.04 \n \l

  Ubuntu is not killing the process, but returns 0.

  But RedHat killproc makes sure that the process is dead before
  returning 0 otherwise it returns 1.

  Hint:
  I think below command can help to find out the status of the process.

  /sbin/start-stop-daemon --status $name_param || status="$?"

  Let me know if you need additional information on this bug.

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


References