-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zfs-2.1.7 dkms fails to install on Fedora 36 #14248
Comments
I also have this issue on Fedora 36. Although for me it's 2.1.6 not 2.1.5.
|
Confirmed:
Here it is still possible to build the kernel module on one's own:
|
I've run into this several times in the past. It seems to happen if zfs-dkms and the kernel are updated in the same transaction. Maybe the RPM hooks are running in the wrong order? I've been able to prevent it from happening by doing updates in two transactions: # All updates, including zfs, but excluding the kernel
sudo dnf update --exclude kernel\*
# Just the kernel
sudo dnf update If it's already in the broken state, I've taken the nuclear option in the past: sudo rpm -e --nodeps zfs-dkms
sudo rm -r /var/lib/dkms/zfs/<leftover old version>
sudo dnf install zfs-dkms |
Am I mistaken, or can DKMS only build against the current Kernel? Because this is what happens: The recompilation hook fires during the transaction. Yesterday during the update, a lovely module for As the DKMS build ultimately worked, this feels like a packaging question around Fedoras RPMs and how DNF resolves the dependencies during the module build triggers, some kind of race condition of active and newly installed Kernels, ZFS package versions, and at what time a compilation is fired. We've seen that kind of behaviour with ZFS RPM package updates many times over the last years. Would there be some kind of dnf trigger, like the system upgrade code path, which could rebuild the module during the first boot into the new Kernel? For Fedora, similar behaviours are also observed on Silverblue: |
I can not confirm that. I have tried:
|
I believe we can close here, now that subsequent versions with Fedora 36 support had been released. |
System information
Describe the problem you're observing
Installing and or reinstalling does not work because during the installation of zfs-2.1.7
/var/lib/dkms/zfs/2.1.5/source/dkms.conf
is missing. Note the different versions (2.1.5 vs. 2.1.7)Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: