Canonical has provided a signature for an exact set of bytes in the .ko
file. The packaging needs to relink the object files into that exact set
of bytes on the target system for the signature to match. The relinking
is required for license compliance AIUI. binutils does the linking. If
you use a different version of binutils, it may generate a different set
of bytes that fails the signature check.

Can you elaborate on what you think Ubuntu should be doing differently?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-restricted-modules in Ubuntu.
https://bugs.launchpad.net/bugs/1921536

Title:
  "modprobe: ERROR: could not insert 'nvidia': Key was rejected by
  service" due to binutils mismatch

Status in linux package in Ubuntu:
  Confirmed
Status in linux-restricted-modules package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-525 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-535 package in Ubuntu:
  Confirmed

Bug description:
  If a user does not have the same version of binutils installed as the
  one used to produce the nvidia module signature, the module generated
  at postinst maybe unloadable:

  modprobe: ERROR: could not insert 'nvidia': Key was rejected by
  service

  I ran into this when I tried to install the hirsute kernel/nvidia
  driver on a focal system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1921536/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to