I tried some further testing and comparison today:

I looked through the init script for NTP and how it calls status_of_proc
and my patch for Arpwatch looks identical. However if ntp is not running
and you execute /etc/init.d/ntp status; echo "return $?" you get return
3 which is the proper response per LSB standard. But if you execute the
same with my patched Arpwatch script - /etc/init.d/arpwatch status; echo
"return $?" you get return 0...

Not sure what I'm missing or if it's really a problem in init-
functions...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/806677

Title:
  status_of_proc returns incorrect number

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to