Actions
Bug #2261
closed
VJ
JI
'local' config error
Bug #2261:
'local' config error
Affected Versions:
Effort:
Difficulty:
Label:
Description
Getting this dump:
3/11/2017 -- 14:01:14 - <Info> -- Done.
Traceback (most recent call last):
File "/home/victor/dev/suricata-update/bin/suricata-update", line 26, in <module>
sys.exit(main.main())
File "/home/victor/dev/suricata-update/suricata/update/main.py", line 1160, in main
files = load_sources(config, suricata_version)
File "/home/victor/dev/suricata-update/suricata/update/main.py", line 944, in load_sources
for local in config.config["local"]:
TypeError: 'NoneType' object is not iterable
For this config:
local: # A directory of rules. #- /etc/suricata/rules # A single rule file. #- /etc/suricata/rules/app-layer-events.rules # A wildcard. #- /etc/suricata/rules/*.rules
It should error/warn more gracefully or ignore it completely.
JI Updated by Jason Ish over 8 years ago
- Status changed from New to Resolved
Fix merged into master: https://github.com/OISF/suricata-update/pull/5
JI Updated by Jason Ish over 8 years ago
- Status changed from Resolved to Closed
JI Updated by Jason Ish about 8 years ago
- Target version set to 1.0.0a1
Actions