Summary: | >=sys-apps/kmod-12-r1: Fix kmod to read also from /usr/lib/modprobe.d in addition to currently hardcoded path /lib/modprobe.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | pacho, udev-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/sys-apps%3Akmod-11%3A20121108-203452.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Diego Elio Pettenò (RETIRED)
![]() Michael, I fixed this collision in kmod-11-r1 by installing our version of the file where kmod expects it to be. They hard coded the path to /lib/modprobe.d instead of using prefix. However, that only puts things off. I am investigating further with the kmod team to figure out which one of us needs to fix this. bug is with mkinitcpio, it shouldn't be installing this file at all, we install the file within module loader package in Gentoo, where as Arch has it bundled with mkinitcpio mkinitcpio needs to change (In reply to comment #1) > Michael, > > I fixed this collision in kmod-11-r1 by installing our version of the file > where kmod expects it to be. They hard coded the path to /lib/modprobe.d > instead of using prefix. > > However, that only puts things off. > > I am investigating further with the kmod team to figure out which one of > us needs to fix this. I think we need to add support for both paths, at least temporarily, like we have done with udev rules Supporting /usr/lib/udev/rules.d isn't going to go stable; that was due to my mis-understanding of how udev should be configured on non /usr merged distros. I just spoke with the kmod developer, and the issue was in their man page. kmod looks for modprobe.d files in /lib/modprobe.d, not /usr/lib/modprobe.d. Since udev also will be moving back to /lib/udev/rules.d, I don't think we need to patch kmod to read from both places. I am closing this because I don't think there is anything for us to do. /lib is the correct place for kmod to read from. |