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

Submitter:  Raphaël Droz <drzraf>
Submitted:  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:  2.02
Release:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code