Also, the modules are built out-of-tree during the kernel build phase since we cannot incorporate them in-tree as this violates the GPL. The zfs modules are build after the kernel is built from the zfs-dkms package and then bundled in the kernel package.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1876990 Title: zfs modules in Focal kernel taint kernel Status in linux package in Ubuntu: In Progress Bug description: the ZFS modules in the shipping focal kernel do not contain the intree flag, and because of that I believe they are the cause of kernel tainting discovered during 20.04 certification testing. The output from a recent certification test run for 20.04: Kernel taint value is 4097 Taint bit value: 0 (proprietary module was loaded) Taint bit value: 12 (externally-built ('out-of-tree') module was loaded) Looking into modinfo for everything loaded at the time, it appears that the ZFS modules are loaded (even though we did not configure any ZFS filesystems), and that seems to be the root cause of the test failure. To test this, I checked /proc/sys/kernel/tainted and verified it was tainted. I then blacklisted all the ZFS related modules and rebooted, and then checked /proc/sys/kernel/tainted again and the kernel no longer shows as being tainted. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1876990/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

