-
Notifications
You must be signed in to change notification settings - Fork 216
improve fedora docs for safe dnf upgrading (incompatible kernel) #542
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
Comments
I believe this mainly ensures that if you run
Believe it or not, this is probably going to happen quite soon (i.e., its all but guaranteed to work in zfs 2.3.2). The current setup (with zfs added to the protected packages list) almost works...when fedora updates to an incompatible kernel dnf silently stops trying to install new if blocking |
@ftc2 - good news: the PR with the fix that makes DNF work correctly (openzfs/zfs#17271) has been merged and is included in the zfs 2.3.2 patchset. |
2.3.2 is released, so let's close this issue. |
Uh oh!
There was an error while loading. Please reload this page.
blindly running
dnf upgrade
can result in updating to a kernel incompatible with openzfs, and this is a trap that new users frequently fall for (myself included). the documentation could do a lot more here.https://openzfs.github.io/openzfs-docs/Getting%20Started/Fedora/index.html
eventually, perhaps the dnf system could be leveraged to automatically deal with this:
openzfs/zfs#17265
but in the meantime, i think it would be great to update the docs to provide the real-world workarounds that are frequently repeated in github issues when poor users can't access their data (or can't boot if they use openzfs as root fs, lol).
there are countless workaround posts, but here's a few for inspiration:
openzfs/zfs#17242 (comment)
openzfs/zfs#17116 (comment)
openzfs/zfs#16590 (comment)
specifically, i think that the documentation should:
dnf upgrade --exclude
as needed (see links above).also, regarding this part of the existing documentation:
i don't think this shows the workflow in enough detail, and i honestly have no clue what
echo 'zfs' > /etc/dnf/protected.d/zfs.conf
is supposed to actually accomplish. it definitely does not protect you from installing an incompatible kernel and breaking openzfs :)The text was updated successfully, but these errors were encountered: