Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86664 - nessus-2.20 init script says [ OK ] but no daemon is running
Summary: nessus-2.20 init script says [ OK ] but no daemon is running
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 08:09 UTC by Eric Brown
Modified: 2005-03-31 17:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
nessusd-r6.diff (nessusd-r6.diff,426 bytes, text/plain)
2005-03-25 12:31 UTC, Marco Morales
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2005-03-25 08:09:49 UTC
Yet another init script bug...
I neglected to create a certificate before I started nessus with /etc/init.d/nessus start, the script said [ OK ] indicating that the process ran successfully, but actually it did not, it even told me to install a certificate first!

If Nessus can tell users to install a certificate, the init script should be able to tell if the process launched!

Even if this is just another fork OK = init OK type of bug, we should still have some sort of check in the init script like "ps aux | grep nessusd"...

please don't say UPSTREAM =)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marco Morales 2005-03-25 12:31:15 UTC
Created attachment 54464 [details]
nessusd-r6.diff
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2005-03-25 12:39:22 UTC
Marco's script checks for cert_file in /etc/nessus/nessusd.conf, which is added when nessus-mkcert is ran. Eric, please tell if this fixes your problem.
Comment 3 Eric Brown 2005-03-31 16:00:24 UTC
It works, initial installation does not have nessus.conf, so it fails properly.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-03-31 17:00:22 UTC
Thanks, fix in cvs.