[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-dev] [Bug 74] New: Deal with help option
http://www.ossec.net/bugs/show_bug.cgi?id=74
Summary: Deal with help option
Product: OSSEC
Version: 1.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P1
Component: ossec core
AssignedTo: ossec-dev@xxxxxxxxx
ReportedBy: php-coder@xxxxxxxxxxxx
Hello!
When I run ossec-agentd, ossec-analysisd, ossec-execd, ossec-logcollector,
ossec-maild, ossec-monitord, ossec-remoted or ossec-syscheckd with -h option I
see help output for six command. This output bug, unexpected and useless. I
modify help() function and fixed this strange behavior.
Also small bug: general help declared -V option support, but ossec-execd not
support this option:
[root@coder ~]# /usr/sbin/ossec-execd -V 2>&1 | head -1
/usr/sbin/ossec-execd: invalid option -- V
My patch also fix this.
Another bug: all of this programs support -D option for specifying default
directory, but usage not declare it. (Also fixed in patch.)
And yet one bug in ossec-remoted: help declared support for -c option but int
getopt() this option not parsed and in fact we can't change default config
path. (Also fixed in patch.)
After all of these change some differences between help message and really
supported options still exists:
- ossec-agentd not support -c option
- ossec-logcollector and ossec-syscheckd not support -u and -g options
Patch will be attached.
--
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.