Bug #5407
closedsuricatasc runtime error
Description
sudo suricatasc -c ruleset-reload-nonblocking
[sudo] password for samiux:
Traceback (most recent call last):
File "/usr/bin/suricatasc", line 39, in <module>
from suricata.sc import *
ModuleNotFoundError: No module named 'suricata.sc'
OS : Ubuntu 22.04
suricata : 6.0.4
Updated by Jason Ish almost 3 years ago
How did you install Suricata. Distributions have been breaking Python code installed with distutils depending on how you do the install.
Updated by Samiux A almost 3 years ago
I upgrade from Ubuntu 20.04 suricata install. The problem is coming with the following problem and it is not yet solved.
https://redmine.openinfosecfoundation.org/issues/5362
When it is running on Ubuntu 20.04 with Suricata PPA, it has no problem. When it is upgraded to Ubuntu 22.04 and Suricata PPA, it caused the captioned two problems.
Updated by Peter Manev almost 3 years ago
The err here seems https://redmine.openinfosecfoundation.org/issues/5362 different.
It is probably a secondary effect (if i am not mistaken)
I will share and test out a bit more a solution package.
Updated by Jason Ish about 1 month ago
- Status changed from New to Rejected
Closing for now as unable to reproduce, and this was on 6.0. If 7.0 or the future 8 have this problem, please create a new ticket. Thanks.