View Issue Details

IDProjectCategoryView StatusLast Update
0009989Kali LinuxKali Package Bugpublic2026-11-28 04:09
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.

arnaudr

arnaudr

2026-11-27 15:05

administrator   ~0022222

I can't reproduce. I just fetched the latest kali-rolling container image for ARM64, started the container, then run apt update && apt install -y metasploit-framework and then run msfconsole. No issue, works for me.

rolfstenholmd2i

rolfstenholmd2i

2026-11-27 15:31

reporter   ~0022223

Is there a command or similar to get the version number on the rolling kali-linux docker image to check which versions I am running to see which release has/had issues?

arnaudr

arnaudr

2026-11-28 04:08

administrator   ~0022226

Last edited: 2026-11-28 04:09

You can get the version of metasploit with dpkg -l | grep metasploit-framework.

As for Kali itself, Kali rolling is by definition always changing and always receiving updates, so there's no version. It's possible that you've hit a bug that fixed itself after some time, when some packages (maybe dependencies of metasploit) were updated.

Does that answer your question?

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
2026-11-27 15:05 arnaudr Note Added: 0022222
2026-11-27 15:31 rolfstenholmd2i Note Added: 0022223
2026-11-28 04:08 arnaudr Note Added: 0022226
2026-11-28 04:09 arnaudr Note Edited: 0022226