MODULES_CONF[#] modifies /etc/modprobe.d/dkms.conf instead of /etc/modules

Bug #502443 reported by Guillaume

This bug report was converted into a question: question #95979: MODULES_CONF[#] modifies /etc/modprobe.d/dkms.conf instead of /etc/modules.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dkms

Hello,

With this dkms.conf on Karmic with dkms 2.1.0.1 :

DEST_MODULE_LOCATION[0]="/kernel/drivers/video/backlight"
PACKAGE_NAME="nvidia_bl"
PACKAGE_VERSION="0.50"
CLEAN="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
MAKE[0]="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
REMAKE_INITRD="no"
AUTOINSTALL="yes"
MODULE_CONF[0]="$PACKAGE_NAME"

nvidia_bl is added to /etc/modprobe.d/dkms.conf instead of /etc/modules. Modprobe complains about the nvidia_bl command it finds in /etc/modprobe.d/dkms.conf

Any suggestion ?

Guillaume

Revision history for this message
Mario Limonciello (superm1) wrote :

This is the proper behavior. It's supposed to modify a file in modprobe.d. Adding it to /etc/modules would cause it to auto load on every boot which is improper. Any module should be using udev and modaliases to detect when to be loaded.

Revision history for this message
Mario Limonciello (superm1) wrote :

Proper behavior. Adding to /etc/modules causes it to be loaded on every boot. It should be loading based on modaliases and/or udev.

Changed in dkms (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.