Actions
Bug #2261
closed'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.
Updated by Jason Ish about 7 years ago
- Status changed from New to Resolved
Fix merged into master: https://github.com/OISF/suricata-update/pull/5
Actions