Bug #446
closed
improve threshold.conf not found error
Added by Victor Julien over 12 years ago.
Updated over 12 years ago.
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 :)
- Assignee changed from OISF Dev to Eric Leblond
- Target version changed from 1.3beta2 to 1.3rc1
Can we consider this is fixed by commit:2d22f667 ?
- 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
- Status changed from Assigned to Closed
Also available in: Atom
PDF