distrobox icon indicating copy to clipboard operation
distrobox copied to clipboard

[Error] modprobe looking for host kernel modules instead of guest

Open buzmeg opened this issue 7 months ago • 0 comments

Describe the bug When I do modprobe vhci_hcd in the guest I get:

modprobe vhci_hcd
modprobe: FATAL: Module vhci_hcd not found in directory /lib/modules/6.14.8-300.fc42.x86_64

which is perfectly reasonable as the guest shows:

% ls -al /lib/modules
total 0
drwxr-xr-x. 1 root root  44 May 31 23:56 .
dr-xr-xr-x. 1 root root 968 May 31 23:56 ..
drwxr-xr-x. 1 root root 772 May 31 23:57 6.14.8-200.fc41.x86_64

Why is the guest trying to pick up the kernel modules of the host?

To Reproduce modprobe vhci_hcd when host and guest have differing operating systems.

Expected behavior modprobe vhci_hcd should try to pick up modules from the guest kernel.

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? -- podman
  • Which version or podman, docker or lilipod? -- podman version 5.5.0
  • Which version of distrobox? -- distrobox: 1.8.1.2
  • Which host distribution? -- Fedora 42 Silverblue with Fedora 41 guest
  • How did you install distrobox? -- Fedora 42 Silverblue layered package

buzmeg avatar Jun 01 '25 05:06 buzmeg