It looks like the problem is from a missing file...

@emigre:~$ dpkg -S /sbin/update-modules
diversion by module-init-tools from: /sbin/update-modules
diversion by module-init-tools to: /sbin/update-modules.modutils
module-init-tools: /sbin/update-modules
@emigre:~$ dpkg -S /sbin/update-modules.modutils
diversion by module-init-tools from: /sbin/update-modules
diversion by module-init-tools to: /sbin/update-modules.modutils
@emigre:~$

On top of that the update-modules script doesn't report the error:

@emigre:~$ cat /sbin/update-modules
#!/bin/sh -e
if [ -x /sbin/update-modules.modutils ]; then
  exec /sbin/update-modules.modutils "$*"
fi
exit 0

So what appears to be happening is that after the kernel upgrade, /sbin
/update-modules gets called to update /etc/modules, and it exits without
reporting that anything went wrong. The explicit exit 0 is the wrong
default value, and in the wrong place. I'd suggest:

#!/bin/sh -e
if [ -x /sbin/update-modules.modutils ]; then
  exec /sbin/update-modules.modutils "$*";
  exit 0
fi
exit 1

And also the module-init-tools tools needs to include /sbin/update-
modules.modutils


** Changed in: Ubuntu
Sourcepackagename: None => module-init-tools
       Status: Unconfirmed => Confirmed

-- 
Some modules are not automatically loaded after dist-upgrade from 5.10 to 6.06 
beta
https://launchpad.net/bugs/41144

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to