[Bug 1997779] [NEW] grub2-signed postinsts need to source debconf

Julian Andres Klode 1997779 at bugs.launchpad.net
Thu Nov 24 14:38:30 UTC 2022


Public bug reported:

[Impact]
dpkg-reconfigure grub-efi-*-signed do nothing, as debconf is weird and sourcing the script inside grub-multi-install is not enough.

This means the questions about which ESP(s) to use might not get asked.

[Test plan]
Run dpkg-reconfigure grub-efi-amd64-signed, ensure it shows debconf prompts.

same for grub-efi-arm64

[Where problems could occur]
I'm not sure where problems could occur from adding a single line to the top of postinst that sources debconf when all other packages have it too, hmm.

But of course debconf is always a bit weird. Maybe questions get asked
twice, I don't know.

** Affects: grub2-signed (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: grub2-signed (Ubuntu Focal)
     Importance: High
         Status: Triaged

** Affects: grub2-signed (Ubuntu Jammy)
     Importance: High
         Status: Triaged

** Affects: grub2-signed (Ubuntu Kinetic)
     Importance: High
         Status: Triaged

** Affects: grub2-signed (Ubuntu Lunar)
     Importance: High
         Status: Triaged


** Tags: foundations-todo

** Also affects: grub2-signed (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: grub2-signed (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: grub2-signed (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: grub2-signed (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Changed in: grub2-signed (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: grub2-signed (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: grub2-signed (Ubuntu Kinetic)
   Importance: Undecided => High

** Changed in: grub2-signed (Ubuntu Lunar)
   Importance: Undecided => High

** Tags added: foundations-todo

** Changed in: grub2-signed (Ubuntu Lunar)
       Status: New => Triaged

** Changed in: grub2-signed (Ubuntu Kinetic)
       Status: New => Triaged

** Changed in: grub2-signed (Ubuntu Jammy)
       Status: New => Triaged

** Changed in: grub2-signed (Ubuntu Focal)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1997779

Title:
  grub2-signed postinsts need to source debconf

Status in grub2-signed package in Ubuntu:
  Triaged
Status in grub2-signed source package in Focal:
  Triaged
Status in grub2-signed source package in Jammy:
  Triaged
Status in grub2-signed source package in Kinetic:
  Triaged
Status in grub2-signed source package in Lunar:
  Triaged

Bug description:
  [Impact]
  dpkg-reconfigure grub-efi-*-signed do nothing, as debconf is weird and sourcing the script inside grub-multi-install is not enough.

  This means the questions about which ESP(s) to use might not get
  asked.

  [Test plan]
  Run dpkg-reconfigure grub-efi-amd64-signed, ensure it shows debconf prompts.

  same for grub-efi-arm64

  [Where problems could occur]
  I'm not sure where problems could occur from adding a single line to the top of postinst that sources debconf when all other packages have it too, hmm.

  But of course debconf is always a bit weird. Maybe questions get asked
  twice, I don't know.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1997779/+subscriptions




More information about the foundations-bugs mailing list