[Nut-upsuser] SSL only working in DEBUG mode
Charles Lepple
clepple at gmail.com
Thu Mar 26 12:48:30 UTC 2015
On Mar 26, 2015, at 4:16 AM, Emilien Kia <kiae.dev at gmail.com> wrote:
> After looking a bit deeply, we have another little problem. When we intend to start upsd with the init script (at least under debian-based distrib - tested on Linux Mint 17.1) when we have the NSS problem, the init script exit with the "[OK]" state even if the "real" deamon process does not run correctly.
>
> Perhaps we could add some tests to validate if the deamonization is OK. But it is a little bit out of my competencies (I am not a bash and linux-init-process expert).
Are you still using http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/view/head:/scripts/test-nut.py to test?
That script already checks for PIDs of the daemons. It should not be hard to extend it to 'kill -0' each PID to check if it is still running. I admit that I have not tried this test script, though.
--
Charles Lepple
clepple at gmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150326/82ba6570/attachment.html>
More information about the Nut-upsuser
mailing list