Project

General

Profile

Actions

Bug #485

closed

fake start with status_services.php and installed packages

Added by robert zelaya over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
04/05/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

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.

Actions #1

Updated by Chris Buechler over 11 years ago

  • Target version set to 2.0
  • Affected Version set to All
Actions #2

Updated by Chris Buechler over 11 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.

Actions #3

Updated by Ermal Luçi about 11 years ago

  • Status changed from New to Feedback
Actions #4

Updated by Chris Buechler about 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF