Ah, I can reproduce this:
cd /tmp
touch usbcore
chmod 0 usbcore
modinfo usbcore
I wonder why it tries to open("usbcore") at all. If nothing else, it
should open usbcore.ko, but even if "usbcore" makes sense, it should
fall back to the one in the standard directory (/lib/modules..).
** Changed in: module-init-tools (Ubuntu)
Status: New => Confirmed
--
modinfo fails with inaccessible file in current dir
https://bugs.launchpad.net/bugs/227198
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs