Bug #485
closedfake start with status_services.php and installed packages
0%
Description
Issue:
On status_services.php a process is said to be running if the <executable>snort</executable> name is in ps | grep. Example 'ps | grep snort'. If another process has the executable tag name (snort) anywhere in 'ps' the status_services.php will say it is running when its not.
For example:
Stop all snort processes. In the terminal type ee /var/log/snort_error.php then go to the status_services.php page.
You will see snort is said to be running when it is not running.
Fix:
Package maintainers need to add the process path to the executable tag. Moreover, a longer unique executable tag is even less prone to this error.
Updated by Chris Buechler over 14 years ago
- Target version set to 2.0
- Affected Version set to All
Updated by Chris Buechler over 14 years ago
maybe change it pgrep which will at least not match on arguments of other commands, though that's not perfect it's better.
Updated by Chris Buechler about 14 years ago
- Status changed from Feedback to Resolved