I'm running into this as well. I'd like to boot the Live CD such that the kernel is untainted, but since the zfs modules are automatically loaded, the kernel is tainted at boot.
I was able to ensure that the zfs modules were not loaded at boot by adding the kernel parameter "systemd.mask=zfs.target" in the grub bootloader. I don't think there's a "fix" for this issue, but maybe this will help someone else running in to this issue. One thing that would be nice though would be for the kernel parameter "zfs=(off|no|0)" would disable this target. Just as it disabled module loading in /etc/initd.d/zfs-import (via /etc/zfs/zfs-functions in function checksystem). -- 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: Won't Fix 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 : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp