View Issue Details

IDProjectCategoryView StatusLast Update
0009989Kali LinuxKali Package Bugpublic2026-11-27 10:13
Reporterrolfstenholmd2i Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009989: Cannot start msfconsole in docker container (the weekly build)
Description

When running msfconsole, the terminal does not start, the error

/opt/metasploit-framework/embedded/lib/ruby/gems/3.4.0/gems/bootsnap-1.26.1/lib/bootsnap/load_path_cache/path_scanner.rb:61:in 'Bootsnap::LoadPathCache::Native.scan_dir': Too many levels of symbolic links - opendir @ /usr/lib/llvm-21/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/...

The issue is a symbolic link in /usr/lib/llvm-21/build/ named Debug+Asserts see below

┌──(root㉿30dc32d1c6a6)-[/usr/lib/llvm-21/build]
└─# ls -l
total 4
lrwxrwxrwx 1 root root 2 Sep 18 07:09 Debug+Asserts -> ..
lrwxrwxrwx 1 root root 2 Sep 18 07:09 Release -> ..
lrwxrwxrwx 1 root root 10 Sep 18 07:09 include -> ../include
lrwxrwxrwx 1 root root 6 Sep 18 07:09 lib -> ../lib
lrwxrwxrwx 1 root root 8 Sep 18 07:09 share -> ../share
drwxr-xr-x 2 root root 4096 Sep 18 07:09 unittests

The console works after Debug+Asserts link is deleted.

Activities

daniruiz

daniruiz

2026-11-27 10:02

administrator   ~0022216

Looking at the path you mention /opt/, it seems you manually installed metasploit-framework. We only support installations via apt and the official metasploit-framework package https://pkg.kali.org/pkg/metasploit-framework

rolfstenholmd2i

rolfstenholmd2i

2026-11-27 10:13

reporter   ~0022217

I tried running metasploit-framework from a package install first and then I installed from the source because it was not working. Some people suggested downloading metasploit from the source could fix similar issues. This is why the log looks like it looks, the issue exists with the package in a fresh arm64 docker container with very minimum additional installed packages.

Issue History

Date Modified Username Field Change
2026-11-26 13:27 rolfstenholmd2i New Issue
2026-11-27 10:02 daniruiz Note Added: 0022216
2026-11-27 10:13 rolfstenholmd2i Note Added: 0022217