Date: Sun, 25 Apr 2021 18:21:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255397] suricata-update is failing to find certain python modules when trying to update rules. Message-ID: <bug-255397-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255397 Bug ID: 255397 Summary: suricata-update is failing to find certain python modules when trying to update rules. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ian@south-border.com this used to work with suricata 5.x but now, with having FreeBSD 13.0 RELEA= SE installed, suricata builds fine but suricata-update fails: root@sunspot-thin:/usr/local/bin # ./suricata-update Traceback (most recent call last): File "./suricata-update", line 32, in <module> from suricata.update import main File "./../lib/python3.7/site-packages/suricata/update/main.py", line 50,= in <module> from suricata.update import ( File "./../lib/python3.7/site-packages/suricata/update/commands/__init__.= py", line 17, in <module> from suricata.update.commands import addsource File "./../lib/python3.7/site-packages/suricata/update/commands/addsource.py", l= ine 22, in <module> from suricata.update import sources File "./../lib/python3.7/site-packages/suricata/update/sources.py", line = 28, in <module> from suricata.update import net File "./../lib/python3.7/site-packages/suricata/update/net.py", line 38, = in <module> from suricata.update import osinfo ImportError: cannot import name 'osinfo' from 'suricata.update' (./../lib/python3.7/site-packages/suricata/update/__init__.py) root@sunspot-thin:/usr/local/bin # uname -a FreeBSD sunspot-thin.south-border.com 13.0-RELEASE FreeBSD 13.0-RELEASE #1 r369322M: Sat Apr 24 07:18:54 EDT 2021=20=20=20=20 root@sunspot-thin.south-border.com:/usr/obj/usr/12.2-RELEASE/amd64.amd64/sy= s/NEWSOUTH2 amd64 root@sunspot-thin:/usr/local/bin # pkg info | egrep suricata suricata-6.0.2 High Performance Network IDS, IPS and Securi= ty Monitoring engine I tried installing py-pip and adding the modules but that didn't work for m= e.=20 Oh, I should say that the custom kernel config really just builds pf modules into it as compiled in . Nothing more that then really. Thanks, Ian --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255397-7788>