<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37664</bug_id>
          
          <creation_ts>2019-12-23 03:57:54 +0300</creation_ts>
          <short_desc>grub-install generates an incomplete /boot/efi/EFI/altlinux/grub.cfg</short_desc>
          <delta_ts>2020-06-15 13:59:03 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>grub-common</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>37660</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Николай Костригин">nickel</assigned_to>
          <cc>aen</cc>
    
    <cc>nickel</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>stalker</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186506</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-12-23 03:57:54 +0300</bug_when>
    <thetext>When installing into a LUKS partition on a UEFI hardware,
grub-install generates an incomplete /boot/efi/EFI/altlinux/grub.cfg file:

search.fs_uuid bd7feb40-5921-45d6-96d9-0f646f12956b root cryptouuid/f7fa2cedfd174a1cbe0b5ad7ed0c0776
set prefix=($root)&apos;/boot/grub&apos;
configfile $prefix/grub.cfg

As you can see, since the mandatory command
cryptomount -u f7fa2cedfd174a1cbe0b5ad7ed0c0776
that must precede search.fs_uuid is missing,
search.fs_uuid cannot find the root and the boot stops.

Note that grub-mkconfig does not have this issue, it adds cryptomount commands where appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187190</commentid>
    <comment_count>1</comment_count>
    <who name="Николай Костригин">nickel</who>
    <bug_when>2020-01-23 12:24:44 +0300</bug_when>
    <thetext>Fix is being tested in task #244809</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187354</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2020-01-30 11:48:21 +0300</bug_when>
    <thetext>grub-2.02-alt22 -&gt; sisyphus:

 Thu Jan 23 2020 Nikolai Kostrigin &lt;nickel@altlinux&gt; 2.02-alt22
 - fix debian-install_signed patch (closes: #37664)
 - spec: remove useless pesigning from install section
   + fix license
   + move rpm-macros-uefi to BR(pre):</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>