Public bug reported:
In Ubuntu 24 LTS, update-initramfs calls its fsck hook to determine
which fsck binaries, if any, need to be installed in the initramfs.
Unfortunately, it does honor the <pass> field correctly; when set to
zero, the intended behavior is not to run any fsck at boot.
This is useful, for example, when the root filesystem is on zfs, and the
entry in /etc/fstab typically reads:
tank/root / zfs defaults 0 0
(or, equally, lacks the last two fields - as documented in "man fstab")
Currently, update-initramfs produces this warning:
W: Couldn't identify type of root file system for fsck hook
Note that there are other filesystem types for which the administrator
might want to set <pass> to zero; I am attaching a patch that corrects
the behavior of the fsck hook to respect the setting configured by them.
** Affects: ubuntu
Importance: Undecided
Status: New
** Patch added: "ubuntu-bug-update-initramfs-fsck-hook.diff"
https://bugs.launchpad.net/bugs/2137669/+attachment/5938117/+files/ubuntu-bug-update-initramfs-fsck-hook.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137669
Title:
initramfs-tools-core: fsck hook does not honor <pass> field from
/etc/fstab
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2137669/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs