** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398622

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to