Package: kmod Version: 34.2-2 Severity: normal When modinfo is unable to access a module due to path permissions it gets EACCES and that should be reported to the user as "permission denied" (or similar). It currently says "not found" which leads the user to believe that it was not there which is not the situation.
# modinfo /var/lib/dkms/nvidia-current/535.216.03/6.12.22-amd64/x86_64/module/nvidia-current-peermem.ko.xz modinfo: ERROR: Module /var/lib/dkms/nvidia-current/535.216.03/6.12.22-amd64/x86_64/module/nvidia-current-peermem.ko.xz not found. newfstatat(AT_FDCWD, "/var/lib/dkms/nvidia-current/535.216.03/6.12.22-amd64/x86_64/module/nvidia-current-peermem.ko.xz", 0x7ffc581232c0, 0) = -1 EACCES (Permission denied) This happens under SE Linux if the file has the wrong label. -- System Information: Debian Release: trixie/sid Architecture: amd64 (x86_64) Kernel: Linux 6.12.22-amd64 (SMP w/44 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages kmod depends on: ii libc6 2.41-7 ii libkmod2 34.2-2 ii libssl3t64 3.5.0-1 kmod recommends no packages. kmod suggests no packages. -- debconf-show failed