Public bug reported:

Affects Hardy (not checked Intrepid).

/etc/init.d/linux-restricted-modules-common does nothing when stopped.
As a result, if the user disables modules using DISABLED_MODULES in
/etc/default/linux-restricted-modules-common and restarts LRM the
previously built modules are still in the mounted tmpfs.

This prevents user-built drivers from being used.

lrm-manager should check for the existence of a disabled driver and
remove it:

        if [ "$1" = "$module" ]; then
          CURRENT_MODULE_DISABLED="true"
          if [ -e /lib/modules/"$KVER"/volatile/$module.ko ]; then
            rm -f /lib/modules/"$KVER"/volatile/$module.ko
          fi
          if [ "$LIST" = "yes" ]; then
            echo "$module"
          fi
          break
        else

** Affects: linux-restricted-modules (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Affects Hardy (not checked Intrepid).
  
  /etc/init.d/linux-restricted-modules-common does nothing when stopped.
  As a result, if the user disables modules using DISABLED_MODULES in
  /etc/default/linux-restricted-modules-common and restarts LRM the
  previously built modules are still in the mounted tmpfs.
  
  This prevents user-built drivers from being used.
  
  lrm-manager should check for the existence of a disabled driver and
  remove it:
  
          if [ "$1" = "$module" ]; then
            CURRENT_MODULE_DISABLED="true"
-                 if [ -e /lib/modules/"$KVER"/volatile/$module.ko ]; then
-                       rm -f /lib/modules/"$KVER"/volatile/$module.ko
-                 fi
+           if [ -e /lib/modules/"$KVER"/volatile/$module.ko ]; then
+             rm -f /lib/modules/"$KVER"/volatile/$module.ko
+           fi
            if [ "$LIST" = "yes" ]; then
              echo "$module"
            fi
            break
          else

-- 
disabled modules remain in tmpfs between service restarts
https://bugs.launchpad.net/bugs/258541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to