bugGNU GRUB - Bugs: bug #52857, grub-mkconfig_lib +...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52857: grub-mkconfig_lib + GRUB_ENABLE_CRYPTODISK => empty cryptomount commands

Submitted by:  Raphaël Droz <drzraf>
Submitted on:  Wed 10 Jan 2018 02:23:46 PM UTC  
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  2.02 Reproducibility:  Every Time
Planned Release:  None

Wed 10 Jan 2018 02:23:46 PM UTC, original submission:

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
Raphaël Droz <drzraf>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by drzraf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3