Package Details: zfs-dkms 2.2.3-2

Git Clone URL: https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://zfsonlinux.org/
Licenses: CDDL
Provides: SPL-MODULE, zfs, ZFS-MODULE
Submitter: isiachi
Maintainer: kstolp
Last Packager: kstolp
Votes: 160
Popularity: 1.50
First Submitted: 2015-08-31 12:01 (UTC)
Last Updated: 2024-03-13 08:43 (UTC)

Pinned Comments

kstolp commented on 2023-09-29 00:34 (UTC)

When requesting changes, please include detailed reasoning for the change.

kstolp commented on 2023-01-07 09:31 (UTC)

If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.

==> ERROR: One or more PGP signatures could not be verified!

You have two options:

1) Import the two keys into your keyring. ArchWiki article. You can find the key IDs in the PKGBUILD file, in the validpgpkeys array. (recommended)

2) Alternatively, you can skip this verification by passing the --skippgpcheck argument to makepkg when building. (not recommended)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 58 Next › Last »

karns commented on 2023-06-03 20:03 (UTC)

@meithan: would introducing a separate package be a possible solution? Something like zfs-dkms-stable which would be identical with the exception of having a kernel version gate in the conflicts.

For now I am just using linux-lts.

meithan commented on 2023-06-03 04:58 (UTC)

@sphere101 They have successfully patched 6.3 support upstream, but those patches haven't been backported to the next stable release yet. There's no indication about when that will be completed. Everyone should stick to kernel 6.2 or previous for the time being.

meithan commented on 2023-06-03 04:51 (UTC)

@mabod Using zfs-dkms is a personal choice we make consciously in order to be able to stay on the bleeding edge. We understand and accept the risks that implies. That said, it doesn't mean we shouldn't explore ways to reduce those risks, if it's viable. That's all were doing. If there's no way, we'll live with that.

sphere101 commented on 2023-06-02 16:17 (UTC)

Can anyone provide an update on the next release of zfs-dkms to support 6.3? Thanks

mabod commented on 2023-06-01 05:23 (UTC)

I do not understand this discussion. If kernel/ zfs Version Control is so important for you, you should be using the archzfs repo. This repo makes sure that kernel and zfs are always compatible.

meithan commented on 2023-06-01 01:20 (UTC)

@karns: We do agree with you! While IgnorePkg and having an LTS kernel are good protections against ZFS breakage (that I am personally using for now), we do agree that the ideal scenario is that the package blocks kernel upgrades when there are known compatibility issues.

Heck, I even like the idea of conflicts listing kernel versions above the officially supported version as stated by OpenZFS (for instance it would be conflicts=('linux>=6.3') right now), and for all kernels officially by Arch.

The question is not whether this is a desired behavior (I think we all agree), but exactly how to implement this behavior in a way that won't cause other unexpected problems in some cases. So far, we're not sure there's a way.

The problem with using conflicts for that (also answering @Vrakfall) is bad interactions that can happen for users with multiple kernels installed (usually with different versions).

Picture this scenario. Some ZFS user installed kernel 6.3, which broke their system, and switched to linux-lts in the mean time, leaving 6.3 installed. I'm sure there are people actually in this scenario. If we introduce the conflicts to the PKGBUILD right now, their system packages would be left in an inconsistent state, and pacman would try to uninstall either zfs-dkms or linux to resolve it. Uninstalling the former would be pretty bad!

What I'm not sure is whether this approach could work moving forward if we assume that no ZFS user has an incompatible kernel installed (and very strongly warn against the scenario above for the initial transition and assume zfs-dkms users read this?). Maybe it would work? What do you think, @kstolp?

itoffshore commented on 2023-06-01 00:36 (UTC)

@karns - just install linux-lts in addition to your main kernel of choice. You are then pretty much guaranteed to always have a working zfs system. If you are running zfs it's a good idea not to run a bleeding edge kernel if you want to avoid breakage (as zfs development always lags a little behind new kernel features)

karns commented on 2023-06-01 00:20 (UTC)

@fryfrog that is a good suggestion, thank you.

Still, I do think there should be a gate built into the package if that is possible.

fryfrog commented on 2023-05-31 19:13 (UTC)

Why don't you guys just use IgnorePkg? Add it to /etc/pacman.conf and just upgrade them after making sure it is safe?

IgnorePkg = linux linux-headers linux-lts linux-lts-headers zfs-dkms zfs-utils

karns commented on 2023-05-31 18:41 (UTC) (edited on 2023-05-31 18:42 (UTC) by karns)

Just to add to the discussion here: I have (accidentally) bricked my system on two different occasions due to the zfs-dkms and mainstream linux packages not having a matching release cadence with one another. Luckily, the motherboard on my headless machine has an ipmi interface which I can use to fix things on a live USB. But it is an utter waste of my time.

If it is possible to prevent newer or otherwise incompatible versions of the linux kernel from being installed using, it should absolutely be done. It is quite silly to allow pacman -Syu to brick a system when users are encouraged to update on a regular basis.