You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ZFS enabled in nixos/modules/profiles/base.nix breaks linuxPackages_latest #189184
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
is problematic as it breaks with linuxPackages_latest when ZFS isn't compatible with the latest kernel version.
This profile is pulled in by the SD card builders & netboot, leaving users that want to build SD images with the latest kernel with a broken build and no obvious recourse how to resolve the issue.
I'm using boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; on my machines with zfs without issues.
the point of this ticket is not getting a compatible kernel for use with zfs
Its that if you're not even using zfs you still have to set it to the zfs latestCompatibile etc kernel or remove it from boot.supportedFilesystems by hand
Reacted by misuzu, adisbladis, Samuel Dionne-Riel, Eliza Weisman, AleXoundOS, Daniel Langbein and Ilise Leary
Its that if you're not even using zfs you still have to set it to the zfs latestCompatibile etc kernel or remove it from boot.supportedFilesystems by hand
This is one of the issues with using a kernel module that lives outside of the kernel code base.
Either we should retain zfs support, but delegate the kernel version to zfs; or we should remove zfs from the latest build; or we should just publish a zfs specific version.
Personally, I don't think most users will notice that the kernel version lags behind a week or two each kernel release. So I would prefer the "zfs is included, and we have a slightly stale latest kernel until zfs gets updated" model.
Unless zfs gets added to the kernel, I don't think anyone is going to be happy in all cases.
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Activity
samueldr commentedon Aug 31, 2022
See also #59863 for previous discussions about the issue.
misuzu commentedon Sep 1, 2022
I'm using
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;on my machines with zfs without issues.06kellyjac commentedon Sep 1, 2022
the point of this ticket is not getting a compatible kernel for use with zfs
Its that if you're not even using zfs you still have to set it to the zfs latestCompatibile etc kernel or remove it from
boot.supportedFilesystemsby handjonringer commentedon Sep 1, 2022
This is one of the issues with using a kernel module that lives outside of the kernel code base.
Either we should retain
zfssupport, but delegate the kernel version to zfs; or we should remove zfs from the latest build; or we should just publish a zfs specific version.Personally, I don't think most users will notice that the kernel version lags behind a week or two each kernel release. So I would prefer the "
zfsis included, and we have a slightly stale latest kernel until zfs gets updated" model.Unless zfs gets added to the kernel, I don't think anyone is going to be happy in all cases.
samueldr commentedon Sep 1, 2022
I still think this solution proposed in the comments of the previously linked issue is the best:
We can have our cake and eat it too. Build
new_kernel_without_zfsandlatest_kernel_with_zfs_support. All the time.