From nobody Thu Jan 04 14:34:36 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 4T5Tcr1hWQz56W0c for ; Thu, 4 Jan 2024 14:34: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 4T5Tcr0T0Cz4JXr for ; Thu, 4 Jan 2024 14:34:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704378876; 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: in-reply-to:in-reply-to:references:references; bh=M0sq72K9FoXHiFwDUsYEvU/8AZxDXbEuqu4YDdKhIfA=; b=l6R0YXGcQveWpjSxqalNAWcd1KUpTzT2+9n03Gs7z9uNAfkZ0JRfU4DMfltQ0H8T1J/N44 eMBiosESnuxqY2v+KaWvy/VVqrF185ReDPHxR6y48YtX6q6IV3RPNjX/jfziagKYd+aPJX 7Rt8jSRWh7tumUV2AJrfs/CKqN66rwEdnnYzn/sxmH0+gYc7zB69nN6ycOK7wXoLkOsra6 PFen27L0I00ZytQQze3qh1WNqfhsjD9THSYamditeLoGZn98rPBDQU2qahP+s324nS6k6p nehkWpd8g82CkXbbb5+Chibo9GT7vSPoNLY0NmP8qGQGXBjIWn2irjMBT/abXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704378876; a=rsa-sha256; cv=none; b=wqQc6Dk7hUqnE+iXw2P98XI1AmPSirhkWJc1Aety7H/REPbR4MiSLVxq+3pwPDt/uFiXwx IofCyeu2xtmDCNy+Axjlt7exOAKFwXJTn7+wqHLCZEfn9xVaHkfNNUbIZmFjVts+C9zZdH DOqu3nIJD0H3Nsiuxws9BsvT1iXq7Psj77UV6jnDjTqZfMcQbBqjj+hmzYLX5y65ENafzg B6TmglL4mUl7tZwk1juuvi6DTmRSEfwcFEP+Iu42BKKAmByqENwPd/k1D7vB4atPnCoRBP 8u230545fAF56CUVDRA1mr8dvqsmOfqtjuKKMlGNv7c1MyWvJQNQcthey2RZ3A== 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 4T5Tcq6fSczHdN for ; Thu, 4 Jan 2024 14:34: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 404EYZiu033082 for ; Thu, 4 Jan 2024 14:34:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 404EYZWM033081 for ports-bugs@FreeBSD.org; Thu, 4 Jan 2024 14:34: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 276006] security/metasploit: msfconsole fails to start on fresh install Date: Thu, 04 Jan 2024 14:34:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: tanawts@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D276006 --- Comment #3 from tanawts@gmail.com --- After further investigation, the fix will likely require more than just a d= oc update. The reason that the bundle install command referenced works becaus= e it is installing newer versions of the rubygem dependencies than are referenc= ed by the Metasploit port. I am attempting to update all of the referenced deps on my dev system to determine if that resolves the issue. Some of those dependent ports will likely need to be upgraded as well and if so, I will submit port update patches for each as needed. Thank you for your patience P.S. if you need a workaround in the meantime and wish to run msfconsole as= a non-priv user, there are some steps required: As the non-priv user, you will need to set your Ruby GEM_HOME Path to your = home dir: export GEM_HOME=3D"$(ruby -e 'puts Gem.user_dir')" export PATH=3D"$GEM_HOME/bin:$PATH" Then, run "bundle install" from the /usr/local/share/metasploit directory: cd /usr/local/share/metasploit && bundle install --=20 You are receiving this mail because: You are the assignee for the bug.=