[Bug 1092648] New: nVidia drivers should install modprobe configuration under /lib/modprobe.d
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 Bug ID: 1092648 Summary: nVidia drivers should install modprobe configuration under /lib/modprobe.d Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 3rd Party Driver Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: arvidjaar@gmail.com QA Contact: sndirsch@suse.com Found By: --- Blocker: --- nvidia drivers depend on modprobe configuration and are explicitly added to initrd. When creating host-independent ("giant") initrd dracut skips content of /etc/modprobe.d which is considered "host specific" which results in non-functional drivers (even though they are loaded in initrd). dracut still unconditionally includes content of /lib/modprobe.d. See /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh, install() function. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 http://bugzilla.opensuse.org/show_bug.cgi?id=1092648#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS CC| |daniel.molkentin@suse.com Assignee|xorg-maintainer-bugs@forge. |sndirsch@suse.com |provo.novell.com | --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Hmm. This would mean, that most - if not all - of our packages are doing this wrong. Adding the maintainer of dracut here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 http://bugzilla.opensuse.org/show_bug.cgi?id=1092648#c17 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jengelh@inai.de) | --- Comment #17 from Jan Engelhardt <jengelh@inai.de> --- /usr is the volume that is subject to snapshotting - we would wand that. Apparently, /usr/lib/modprobe.d is brought in by filesystem.rpm. Its presence plus the snapshot part tells me that exactly this directory should be used. kmod will need to be patched. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 http://bugzilla.opensuse.org/show_bug.cgi?id=1092648#c18 --- Comment #18 from Andrei Borzenkov <arvidjaar@gmail.com> --- (In reply to Jan Engelhardt from comment #17)
kmod will need to be patched.
The you will need to patch dracut too ./modules.d/95nfs/module-setup.sh: if [ -f /lib/modprobe.d/nfs.conf ]; then ./modules.d/95nfs/module-setup.sh: inst_multiple /lib/modprobe.d/nfs.conf ./modules.d/90kernel-modules/module-setup.sh: inst_multiple -o /lib/modprobe.d/*.conf And every package that installs anything under /lib/modprobe.d will also need to be identified and patched forever. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|nVidia drivers should |Should we move modprobe |install modprobe |configuration to |configuration under |/lib/modprobe.d? |/lib/modprobe.d | Severity|Normal |Enhancement -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 http://bugzilla.opensuse.org/show_bug.cgi?id=1092648#c25 --- Comment #25 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Daniel Molkentin from comment #24)
Created attachment 838903 [details] proposed patch for dracut
@Daniel Thanks a lot for working on this! I had a short view and wonder, whether one also need to adjust the lines with /etc/modprobe.d and not only the ones with /lib/modprobe.d. Maybe you can double-check? As far as I can see you decided to consolidate the files in /usr/lib/modprobe.d, right? /usr/etc/modprobe.d would have been the other option as far as I understood (Thorsten's comment#20). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092648 http://bugzilla.opensuse.org/show_bug.cgi?id=1092648#c26 --- Comment #26 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #25)
As far as I can see you decided to consolidate the files in /usr/lib/modprobe.d, right? /usr/etc/modprobe.d would have been the other option as far as I understood (Thorsten's comment#20).
So that's embarassing. It has been myself who changed the bug subject from Move modprobe configuration to /usr/lib/modprobe.d (or /usr/etc/modprobe.d) to Move modprobe configuration to /usr/lib/modprobe.d But hey, that's 9 months ago. ;-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com