Actions
Bug #446
closedimprove threshold.conf not found error
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 :)
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
Updated by Eric Leblond over 12 years ago
Can we consider this is fixed by commit:2d22f667 ?
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