Actions
Bug #2683
closedsuricata-update --dump-sample-configs Crash
Affected Versions:
Effort:
Difficulty:
Label:
Description
sudo suricata-update --dump-sample-configs
14/11/2018 -- 14:15:24 - <Info> -- Using data-directory /var/lib/suricata.
14/11/2018 -- 14:15:24 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
14/11/2018 -- 14:15:24 - <Info> -- Using /etc/suricata/rules for Suricata provided rules.
14/11/2018 -- 14:15:24 - <Info> -- Found Suricata version 4.1.0 at /usr/bin/suricata.
14/11/2018 -- 14:15:24 - <Info> -- Creating update.yaml.
Traceback (most recent call last):
File "/usr/bin/suricata-update", line 33, in <module>
sys.exit(main.main())
File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 1449, in main
sys.exit(_main())
File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 1244, in _main
return dump_sample_configs()
File "/usr/bin/../lib/python2.7/site-packages/suricata/update/main.py", line 702, in dump_sample_configs
shutil.copy(os.path.join(configs.directory, filename), filename)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/bin/../lib/python2.7/site-packages/suricata/update/configs/update.yaml'
Updated by Jason Ish about 6 years ago
- Project changed from Suricata to Suricata-Update
- Assignee set to Jason Ish
Updated by Jason Ish about 6 years ago
The configuration files, while in the manifest are missing from setup.py package_data.
Updated by Jason Ish about 6 years ago
- Assignee changed from Jason Ish to Shivani Bhardwaj
- Priority changed from Normal to High
Updated by Jason Ish about 6 years ago
- Status changed from New to Closed
Actions