Bug #5407
opensuricatasc 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 over 2 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 over 2 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 over 2 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.