[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #52857] grub-mkconfig_lib + GRUB_ENABLE_CRYPTODISK => empty cryptom
From: |
Raphaël Droz |
Subject: |
[bug #52857] grub-mkconfig_lib + GRUB_ENABLE_CRYPTODISK => empty cryptomount commands |
Date: |
Wed, 10 Jan 2018 09:23:47 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #52857] grub-mkconfig_lib + GRUB_ENABLE_CRYPTODISK => empty cryptomount commands,
Raphaël Droz <=