How to remove VirtualBox leftovers?

I’ve removed VirtualBox 6.1 using /opt/VirtualBox/uninstall.sh from my Fedora 42 system as it was not installed according to dnf and the VMs did not start anymore. However, in journalctl I noticed some VirtualBox things are still being executed and fail.

mei 11 16:16:47 systemd-udevd\[429\]: /etc/udev/rules.d/60-vboxdrv.rules:1 Unknown group ‘vboxusers’, ignoring.
mei 11 16:16:47 systemd-udevd\[429\]: /etc/udev/rules.d/60-vboxdrv.rules:3 Unknown group ‘vboxusers’, ignoring.
mei 11 16:16:47 (udev-worker)\[451\]: usb1: Process ‘/opt/VirtualBox/VBoxCreateUSBNode.sh 189 0 09’ failed with exit code 1.
mei 11 16:16:47 (udev-worker)\[440\]: 1-2: Process ‘/opt/VirtualBox/VBoxCreateUSBNode.sh 189 2 00’ failed with exit code 1.

There is no file /etc/udev/rules.d/60-vboxdrv.rules or any other file in /etc/udev/rules.d for that matter. Same thing for file /opt/VirtualBox/VBoxCreateUSBNode.sh

I’m stumped! How is it even possible? I don’t know where to look.

How do I remove these leftovers?

This sounds like leftovers in the intramfs image. You can recreate the image with sudo dracut --force and see if that solves the remaining issues. (Or just wait until the next kernel update and the new initramfs image should not contain those leftovers)