[Bug 255397] suricata-update is failing to find certain python modules when trying to update rules.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 25 18:21:52 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255397

            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 at FreeBSD.org
          Reporter: ian at south-border.com

this used to work with suricata 5.x but now, with having FreeBSD 13.0 RELEASE
installed, suricata builds fine but suricata-update fails:

root at 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", line
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 at 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    
root at sunspot-thin.south-border.com:/usr/obj/usr/12.2-RELEASE/amd64.amd64/sys/NEWSOUTH2
 amd64
root at sunspot-thin:/usr/local/bin # pkg info | egrep suricata
suricata-6.0.2                 High Performance Network IDS, IPS and Security
Monitoring engine

I tried installing py-pip and adding the modules but that didn't work for me. 
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list