Skip to content
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

REMAKE_INITRD is required but deprecated for Root on ZFS #15706

Closed
Zocker1999NET opened this issue Dec 23, 2023 · 1 comment
Closed

REMAKE_INITRD is required but deprecated for Root on ZFS #15706

Zocker1999NET opened this issue Dec 23, 2023 · 1 comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@Zocker1999NET
Copy link

System information

Type Version/Name
Distribution Name Debian GNU/Linux
Distribution Version Bookworm
Kernel Version 6.1.0-16
Architecture arm64
OpenZFS Version 2.1.11-1

Describe the problem you're observing

The documentation on https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bookworm%20Root%20on%20ZFS.html is not applicable anymore. It proposes to add REMAKE_INITRD=yes to /etc/dkms/zfs.conf, so that after ZFS is upgraded, the initramfs is updated to contain the new module. Otherwise, a system with root on ZFS will fail to boot (see #10355).
However, this feature is deprecated and even seems to issue errors in future versions of dkms (as why the default REMAKE_INITRD=no was removed from zfs in #12781).

For me, it seems REMAKE_INITRD=yes seems to be still effective, at least my initramfs gets updated afterwards and my system still boots after an update. However, I have following question regarding future ZFS on root setups. Might there be already something else active for when REMAKE_INITRD=yes is not effective anymore?
If not, something of that sort needs to be added to the documentation, otherwise, as I understand it, systems will not be able after an update of the kernel & zfs-dkms without manually triggering an update of the initramfs.

Describe how to reproduce the problem

  • follow the ZFS on root documentation for Debian bookworm
  • after REMAKE_INITRD=yes is set and the zfs module is updated, dkms issues “Deprecated feature: REMAKE_INITRD (/etc/dkms/zfs.conf)”
@Zocker1999NET Zocker1999NET added the Type: Defect Incorrect behavior (e.g. crash, hang) label Dec 23, 2023
@rlaager
Copy link
Member

rlaager commented Dec 31, 2024

Sorry, I didn't see this until now (a year later!). Since this is an issue with the docs, I'm going to close this in favor of openzfs/openzfs-docs#534. (I don't think it's possible to move issues even if I wanted. But since that one has been filed, I'll just use that.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

2 participants