[Pkg-zfsonlinux-devel] Bug#1001802: zfs-initramfs: Can't dynamically select snapshot to boot from

Yvan Masson yvan at masson-informatique.fr
Thu Dec 16 15:10:51 GMT 2021


Package: zfs-initramfs
Version: 2.0.3-9
Severity: normal

Dear Maintainers,

This issue affects systems with root on ZFS and was initially reported 
against the OpenZFS documentation, see 
https://github.com/openzfs/openzfs-docs/issues/237.

ZFS initramfs script allows to put a "@" after the `root` parameter in 
Grub, so that the user can dynamically select which snapshot to boot 
from (see 
https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20GNU%20Linux%20initrd%20documentation.html). 
However, I noticed two issues in the script:

- while the script indeed waits for user input, snapshots list and 
prompt are not displayed to the user
- the script does not check that the value given by the user is valid

Regards,
Yvan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20211216/f5629ffa/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list