Project

General

Profile

Actions

Bug #446

closed

improve threshold.conf not found error

Added by Victor Julien over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

<ebf0> 20:52:36> [24300] 4/4/2012 -- 20:49:35 - (util-reference-config.c:97) <Error> (SCRConfInitContext) -- [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "/usr/local/suricata-git/etc/reference.config": No such file or directory
<ebf0> 20:52:52> which is informational, but:
<ebf0> 20:52:54> [24360] 4/4/2012 -- 20:51:57 - (util-threshold-config.c:138) <Warning> (SCThresholdConfInitContext) -- [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "threshold.config": No such file or directory
<ebf0> 20:53:22> util-threshold-config.c:138 miss where its looking for the file :)
Actions #1

Updated by Victor Julien over 12 years ago

  • Assignee set to OISF Dev
Actions #2

Updated by Victor Julien over 12 years ago

  • Assignee changed from OISF Dev to Eric Leblond
  • Target version changed from 1.3beta2 to 1.3rc1
Actions #3

Updated by Eric Leblond over 12 years ago

Can we consider this is fixed by commit:2d22f667 ?

Actions #4

Updated by Victor Julien over 12 years ago

  • Status changed from New to Assigned

It seems the var gets passed before it's expanded to include "/suricata". When I use --sysconfdir=/etc I get:

Generic build parameters:
  Installation prefix (--prefix):          /usr
  Configuration directory (--sysconfdir):  /etc/suricata/
  Log directory (--localstatedir) :        /var/log/suricata/

but also:

[13335] 20/6/2012 -- 18:03:50 - (util-threshold-config.c:138) <Warning> (SCThresholdConfInitContext) -- [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "/etc/threshold.config": No such file or directory
Actions #5

Updated by Victor Julien over 12 years ago

  • Status changed from Assigned to Closed

Fixed.

Actions

Also available in: Atom PDF