Project

General

Profile

Actions

Bug #2683

closed

suricata-update --dump-sample-configs Crash

Added by Kenneth Kolano about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Target version:
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'
Actions #1

Updated by Jason Ish almost 6 years ago

  • Project changed from Suricata to Suricata-Update
  • Assignee set to Jason Ish
Actions #2

Updated by Jason Ish almost 6 years ago

The configuration files, while in the manifest are missing from setup.py package_data.

Actions #3

Updated by Jason Ish almost 6 years ago

  • Assignee changed from Jason Ish to Shivani Bhardwaj
  • Priority changed from Normal to High
Actions #4

Updated by Jason Ish almost 6 years ago

  • Target version set to 1.0.1
Actions #5

Updated by Jason Ish almost 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF