From nobody Fri Mar 29 19:55:35 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V5rk00zc6z5FbdR for ; Fri, 29 Mar 2024 19:55:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V5rjz5znjz470H for ; Fri, 29 Mar 2024 19:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711742135; a=rsa-sha256; cv=none; b=OE7/RevXMBgRxAfvu4mxrPotG56U+R65t3LTY50Ly+fI24qwLox94ruF5nOM4AoadZXdDd cPag9DunTbrGVfsQo7l4D+Y2j4G2P0DIJcfN19S3UMe+DS8pSxaDLY+wlo8lUyyK8a1bAJ uRmhoBkiIiPY9DARwvki1bT8yzQbxmQ6IzT6rrhcRx0t1XNaoog67G7CztZEQYEtLW6VrR h/x15La2CRMS+0YwHNO6NyXYICp2aGrHx/94cSUDSjU2LgqsoLiSrqbclSiDP8X6jwWcnH FoxDbEd4sxgs5Spo3h7k52IVGjZlLYjxAaRoHCzsEDNgMtpeupqHh8knZzY31A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711742135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=70MWBHd6S3xZDSYGOGn/zk7325O5ga8zNNdHUH+pr0Q=; b=qAbT+f3dJsxvgQD6gZoc7xLjZovh6MxGOKIO/SEm8+aaH670n/0vD7c2ieB3QgjmcI52aj P4qSFR8oIGZ2OSDyv/YzGJaFbDGMMaYifQ4ZDdOHUGPEWwqWD1ySrKDDRXuGRtw+Ow4fU4 iAARc6wUzpzAh8W3zr6Qva4ttio7hozuR0TwC9U1b0J9TUarMhUnT+23aclkNbvWv/lAJz MGk4GjGGsZ6EA25NbSs9rM75wybi7nisT7cT3xQKhcorMRmHuN4HidqylGfIM52V5tcwF3 ceJvEBQDfky4r9ehF+FQjCE/YURjef1eYTUd8WrrPVkF57HSWrKur9iWQyqcPA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V5rjz5T4YzP9g for ; Fri, 29 Mar 2024 19:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42TJtZSh004121 for ; Fri, 29 Mar 2024 19:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42TJtZIo004120 for ports-bugs@FreeBSD.org; Fri, 29 Mar 2024 19:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0 Date: Fri, 29 Mar 2024 19:55:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278037 Bug ID: 278037 Summary: security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: acm@FreeBSD.org, joe@thrallingpenguin.com CC: acm@FreeBSD.org, joe@thrallingpenguin.com Upgrading to the latest ports version causes grief for security/openvas and friends, notably security/py-notus-scanner and security/py-ospd-openvas. Starting notus_scanner. Traceback (most recent call last): File "/usr/local/bin/notus-scanner", line 8, in sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/notus/scanner/daemon.py", li= ne 130, in main run_daemon( File "/usr/local/lib/python3.9/site-packages/notus/scanner/daemon.py", li= ne 86, in run_daemon client =3D MQTTClient( File "/usr/local/lib/python3.9/site-packages/notus/scanner/messaging/mqtt.py", l= ine 35, in __init__ super().__init__(client_id=3Dclient_id, protocol=3Dmqtt.MQTTv5) TypeError: __init__() missing 1 required positional argument: 'callback_api_version' Exception ignored in: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 8= 74, in __del__ self._reset_sockets() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1= 133, in _reset_sockets self._sock_close() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1= 119, in _sock_close if not self._sock: AttributeError: 'MQTTClient' object has no attribute '_sock' Starting gvmd. Starting ospd_openvas. Warning: using insecure memory! Warning: using insecure memory! Warning: using insecure memory! Traceback (most recent call last): File "/usr/local/bin/ospd-openvas", line 8, in sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/ospd_openvas/daemon.py", line 1245, in main daemon_main('OSPD - openvas', OSPDopenvas, NotusParser()) File "/usr/local/lib/python3.9/site-packages/ospd/main.py", line 152, in = main daemon.init(server) File "/usr/local/lib/python3.9/site-packages/ospd_openvas/daemon.py", line 501, in init client =3D MQTTClient( File "/usr/local/lib/python3.9/site-packages/ospd_openvas/messaging/mqtt.= py", line 39, in __init__ super().__init__(client_id=3Dclient_id, protocol=3Dmqtt.MQTTv5) TypeError: __init__() missing 1 required positional argument: 'callback_api_version' Exception ignored in: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 8= 74, in __del__ self._reset_sockets() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1= 133, in _reset_sockets self._sock_close() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1= 119, in _sock_close if not self._sock: AttributeError: 'MQTTClient' object has no attribute '_sock' Starting gsad. --=20 You are receiving this mail because: You are the assignee for the bug.=