updates of linux-restricted-modules-common clobber /etc/default/linux-restricted-modules-common

Bug #150038 reported by Oded Arbel
2
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I have a machine which requires the new AMD fglrx binary module (8.41), which Ubuntu gutsy does not include - so I've installed the AMD package and I'm managing it manually. To prevent Ubuntu from overriding the manually installed driver and replacing it with the old driver managed by the "restricted modules manager", I had to edit /etc/default/linux-restricted-modules-common and add "fglrx" to the DISABLED_MODULES line, and also edit /etc/modprobe.d/lrm-video and disable the "install fglrx" line.

When I upgrade the linux-restricted-modules-common package, the lrm-video modprobe configuration file stays as I've set it, but the /etc/default/linux-restricted-modules-common configuration file is being reset to how it was before (with nothing disabled), which causes the next reboot to have the old driver linked to the kernel and as a result the system freezes when X starts loading.

Currently I have to manually make sure that both /etc/default/linux-restricted-modules-common and /etc/modprobe.d/lrm-video have fglrx disabled after each time linux-restricted-modules-common is updated.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

If you manually install upstream versions, you need to maintain them by yourself. In hardy though, envyng will take care of installing upstream versions.

Changed in linux-restricted-modules-2.6.22:
status: New → Invalid
Revision history for this message
Oded Arbel (oded-geek) wrote :

Why isn't /etc/default/linux-restricted-modules-common set as a configuration file which shouldn't be overwritten when a user changed it, while /etc/modprobe.d/lrm-video does have user changes maintained ?

The way I see it is that you either do not allow user changes to both or to none. This is regardless of the specific use case of installing external drivers. I'm not sure what envyng is but it would probably won't allow me to install any odd driver I want, hence it doesn't impact this bug.

Please reopen this ticket and either fix it by allowing user modifications to files in /etc/default (which are /etc hence are configuration files, hence are meant to be modified) or disallow modifications in all relevant files.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, reopening.

Changed in linux-restricted-modules-2.6.22:
importance: Undecided → Low
status: Invalid → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

/etc/default/linux-restricted-modules-common is a configuration file already, so I'm not sure what's going on on your machine..

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Closing as invalid, since it already is a configuration file, so you've probably just overwritten it by mistake.

Changed in linux-restricted-modules-2.6.24:
status: Confirmed → 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.