[Bug 806145] Re: Lacks a status action in the init script
Have an updated patch that returns properly when Arpwatch isn't running. Will upload soon -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/806145 Title: Lacks a status action in the init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/arpwatch/+bug/806145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 806145] Re: Lacks a status action in the init script
** 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/806145 Title: Lacks a status action in the init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/arpwatch/+bug/806145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 806145] Re: Lacks a status action in the init script
Maybe someone else could take a look at the return code issue. I looked through the init script for NTP and how it calls status_of_proc and mine is 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 script - /etc/init.d/arpwatch status; echo "return $?" you get return 0... Not sure what I'm missing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/806145 Title: Lacks a status action in the init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/arpwatch/+bug/806145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 806145] Re: Lacks a status action in the init script
Patch to implement status_of_proc() LSB init Function. Everything works as defined in LSB standard with the exception of the return code of status when daemon is not running. It is reported incorrectly as 0 instead of 3. I believe this is because of a bug in /lib/lsb/init-functions in the pidofproc() section. I will post a bug there shortly. ** Patch added: "Patch to add status to init script" https://bugs.launchpad.net/ubuntu/+source/arpwatch/+bug/806145/+attachment/2194363/+files/LP806145.patch ** Changed in: arpwatch (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/806145 Title: Lacks a status action in the init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/arpwatch/+bug/806145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs