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

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

    <bug>
          <bug_id>54781</bug_id>
          
          <creation_ts>2025-06-11 10:56:27 +0300</creation_ts>
          <short_desc>Ошибки /boot/efi/EFI/BOOT/grub.cfg: invalid pe header</short_desc>
          <delta_ts>2025-06-11 11:50:45 +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>sbctl</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Egor Ignatov">egori</assigned_to>
          <cc>egori</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267048</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2025-06-11 10:56:27 +0300</bug_when>
    <thetext>Платформа:
alt-kworkstation p11 x86_64

Пакет:
sbctl 0.17-alt1

Стенд:
GIGABYTE Z790 GAMING X AX

Шаги:
Создать ключи
# sbctl create-keys
Вывести файлы ESP и проверить подписание
# sbctl verify

Результат:
Verifying file database and EFI images in /boot/efi...
✗ /boot/efi/EFI/BOOT/BOOTX64.EFI is not signed
✗ /boot/efi/EFI/BOOT/fbx64.efi is not signed
failed to verify file /boot/efi/EFI/BOOT/grub.cfg: /boot/efi/EFI/BOOT/grub.cfg: invalid pe header
✗ /boot/efi/EFI/BOOT/grubx64.efi is not signed
✗ /boot/efi/EFI/BOOT/mmx64.efi is not signed
failed to verify file /boot/efi/EFI/altlinux/BOOTX64.CSV: /boot/efi/EFI/altlinux/BOOTX64.CSV: invalid pe header
✗ /boot/efi/EFI/altlinux/fbx64.efi is not signed
failed to verify file /boot/efi/EFI/altlinux/grub.cfg: /boot/efi/EFI/altlinux/grub.cfg: invalid pe header
✗ /boot/efi/EFI/altlinux/grubx64.efi is not signed
✗ /boot/efi/EFI/altlinux/mmx64.efi is not signed
✗ /boot/efi/EFI/altlinux/shimx64.efi is not signed

Ожидаемый результат:
Отсутствуют ошибки invalid pe header</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267058</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-06-11 11:50:45 +0300</bug_when>
    <thetext>sbctl-0.17-alt2 -&gt; sisyphus:

 Wed Jun 11 2025 Egor Ignatov &lt;egori@altlinux&gt; 0.17-alt2
 - Fix &apos;invalid pe header&apos; errors (closes: #54781).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>