[Kernel-packages] [Bug 1876990] Re: zfs modules in Focal kernel taint kernel

2021-09-01 Thread Glenn Washburn
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


[Kernel-packages] [Bug 1876990] Re: zfs modules in Focal kernel taint kernel

2020-06-04 Thread Colin Ian King
** Changed in: linux (Ubuntu)
   Status: Incomplete => Won't Fix

-- 
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


[Kernel-packages] [Bug 1876990] Re: zfs modules in Focal kernel taint kernel

2020-05-27 Thread Colin Ian King
@Jeff, not sure how we progress on this. Any comments?

** Changed in: linux (Ubuntu)
   Status: In Progress => Incomplete

-- 
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:
  Incomplete

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


[Kernel-packages] [Bug 1876990] Re: zfs modules in Focal kernel taint kernel

2020-05-21 Thread Colin Ian King
ZFS and the CDDL licence means that we will always have this tainting.
It is expected.

** Changed in: linux (Ubuntu)
   Status: Incomplete => In Progress

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Colin Ian King (colin-king)

-- 
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 : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1876990] Re: zfs modules in Focal kernel taint kernel

2020-05-21 Thread Colin Ian King
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 : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp