Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2023 10:42:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270893] security/py-notus-scanner: 22.4.5 is missing slackware module
Message-ID:  <bug-270893-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270893

            Bug ID: 270893
           Summary: security/py-notus-scanner: 22.4.5 is missing slackware
                    module
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

During "service notus_scanner start" this happened:

Traceback (most recent call last):
  File "/usr/local/bin/notus-scanner", line 33, in <module>
    sys.exit(load_entry_point('notus-scanner=3D=3D22.4.5', 'console_scripts=
',
'notus-scanner')())
  File "/usr/local/bin/notus-scanner", line 25, in importlib_load_entry_poi=
nt
    return next(matches).load()
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
    module =3D import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_remo=
ved
  File "/usr/local/lib/python3.9/site-packages/notus/scanner/daemon.py", li=
ne
27, in <module>
    from .loader import JSONAdvisoriesLoader
  File
"/usr/local/lib/python3.9/site-packages/notus/scanner/loader/__init__.py", =
line
18, in <module>
    from .loader import AdvisoriesLoader
  File "/usr/local/lib/python3.9/site-packages/notus/scanner/loader/loader.=
py",
line 21, in <module>
    from ..models.packages.package import PackageAdvisories
  File
"/usr/local/lib/python3.9/site-packages/notus/scanner/models/packages/__ini=
t__.py",
line 24, in <module>
    from .slackware import SlackPackage
ModuleNotFoundError: No module named 'notus.scanner.models.packages.slackwa=
re'
/usr/local/etc/rc.d/notus_scanner: WARNING: failed to start notus_scanner

It's most likely due to an incomplete pkg-plist.
This package was built by yours truly on our dedicated builder.

Package details:

# pkg info -dfr py39-notus-scanner
py39-notus-scanner-22.4.5
Name           : py39-notus-scanner
Version        : 22.4.5
Installed on   : Sun Apr  9 21:28:14 2023 CEST [Sun Apr  9 19:28:14 2023 UT=
C]
Origin         : security/py-notus-scanner
Architecture   : FreeBSD:13:*
Prefix         : /usr/local
Categories     : security python
Licenses       : AGPLv3
Maintainer     : acm@FreeBSD.org
WWW            : https://github.com/greenbone/notus-scanner
Comment        : scanner for creating results from local security checks
Annotations    :
        flavor         : py39
        repo_type      : binary
        repository     : builder01
Flat size      : 1.33MiB
Description    :
Notus Scanner detects vulnerable products in a system environment. The scan=
ning
method is to evaluate internal system information. It does this very fast a=
nd
even detects currently inactive products because it does not need to intera=
ct
with each of the products.

To report about vulnerabilities, Notus Scanner receives collected system
information on the one hand and accesses the vulnerability information from=
 the
feed service on the other. Both input elements are in table form: the system
information is specific to each environment and the vulnerability informati=
on
is specific to each system type.

Notus Scanner integrates into the Greenbone Vulnerability Management framew=
ork
which allows to let it scan entire networks within a single task. Any
vulnerability test in the format of .notus files inside the Greenbone Feed =
will
be considered and automatically matched with the scanned environments.

WWW: https://github.com/greenbone/notus-scanner
Depends on     :
        py39-tomli-2.0.1_2
        py39-psutil-5.9.4
        py39-python-gnupg-0.4.7
        py39-paho-mqtt-1.6.1
        mosquitto-2.0.15_1
        python39-3.9.16_2
        py39-setuptools-63.1.0
        py39-sentry-sdk-1.5.12
        py39-packaging-23.0_2
Required by    :
        gvm-22.4.1

--=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-270893-7788>