Bug 184084

Summary: /etc/init.d/snortd starts snortd with wrong path to snort.conf
Product: [Fedora] Fedora Reporter: Chong Kai Xiong <descender>
Component: snortAssignee: Dennis Gilmore <dennis>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-30 04:53:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to change config file path none

Description Chong Kai Xiong 2006-03-06 03:52:34 UTC
Description of problem:
/etc/init.d/snortd starts snort with -c /etc/snort/snort.conf but snort.conf is
located in /etc/. 'service snortd start' fails to start snort as a result even
though [OK] is printed.

Version-Release number of selected component (if applicable):
snort-2.4.3-1.fc4

How reproducible:
Always

Steps to Reproduce:
1. service snortd start
2. pgrep snort
  
Actual results:
snort is terminated with a fatal error logged in /var/log/messages. Step (2)
prints nothing.

Expected results:
snort running and step (2) would reveal its PID

Additional info:
None

Comment 1 Chong Kai Xiong 2006-03-06 03:52:34 UTC
Created attachment 125692 [details]
Patch to change config file path

Comment 2 Chong Kai Xiong 2006-03-06 04:08:17 UTC
I just noticed 2 more disturbing problems.

a. snort.conf includes several rules files that do not exist and are not
distributed with the RPM.

b. snort.conf refers to unicode.map under the configuration of http_inspect.
That file does not exist and is not installed either.


Comment 3 Dennis Gilmore 2006-03-06 04:48:14 UTC
I need to add a README file you have to download the rules from snort.org they 
do not license them under GPL  and we can not redistribute them. 
 
 
thnaks  for the patch 

Comment 4 Chong Kai Xiong 2006-03-07 10:28:31 UTC
Ah interesting, I didn't notice they were licensed separately.


Comment 5 Dennis Gilmore 2006-03-30 04:53:16 UTC
fixed package  to put files in /etc/snort/