URL:
<http://savannah.gnu.org/bugs/?52857>
Summary: grub-mkconfig_lib + GRUB_ENABLE_CRYPTODISK => empty
cryptomount commands
Project: GNU GRUB
Submitted by: drzraf
Submitted on: Wed 10 Jan 2018 03:23:46 PM CET
Category: Disk & Partition
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Line 148
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkconfig_lib.in#n148
```
if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
for uuid in `"${grub_probe}" --device $@ --target=cryptodisk_uuid`; do
echo "cryptomount -u $uuid"
done
fi
```
Howto:
* create luks volumes which are not opened
* internal partition (LVM inside luks) are not visible
* set GRUB_ENABLE_CRYPTODISK
* host system calls update-initramfs
Result:
* grub-probe returns an empty string, but the loop is going to output an
*empty* uuid.
* grub.cfg contains: "cryptomount -u"
Expected:
* not cryptomount command
* or a warning that no cryptodisk_uuid was found
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52857>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub