[Bug 1928674] Re: due to a new recommends grub-efi-arm64-signed is installed which does not have postinst.d script

2021-05-17 Thread Steve Langasek
And it's easier to reintroduce the conffiles to grub-efi-amd64.

** Package changed: grub2-signed (Ubuntu) => grub2-unsigned (Ubuntu)

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

Title:
  due to a new recommends grub-efi-arm64-signed is installed which does
  not have postinst.d script

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1928674] Re: due to a new recommends grub-efi-arm64-signed is installed which does not have postinst.d script

2021-05-17 Thread Steve Langasek
The bug description here is all wrong.  grub-efi-amd64-signed depends on
grub-pc | grub-efi-amd64; you never have grub-efi-amd64-signed without
one of these.  The regression is because grub-efi-amd64 from
grub2-unsigned has dropped the conffiles, expecting them to be provided
by the grub2-common which it depends on; but we still have the old
grub2-common from grub2 source which does not ship these conffiles.

We must either have grub-efi-amd64 reintroduce the conffiles in stable
series, or add them to grub2-common.

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

Title:
  due to a new recommends grub-efi-arm64-signed is installed which does
  not have postinst.d script

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1928674] Re: due to a new recommends grub-efi-arm64-signed is installed which does not have postinst.d script

2021-05-17 Thread Matthieu Clemenceau
** Tags added: fr-1381

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

Title:
  due to a new recommends grub-efi-arm64-signed is installed which does
  not have postinst.d script

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1928674] Re: due to a new recommends grub-efi-arm64-signed is installed which does not have postinst.d script

2021-05-17 Thread Dimitri John Ledkov
** Description changed:

  [Impact]
  
   * /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on arm64
  with grub-efi-arm64-signed installed, without grub-efi-arm64.
  
   * /etc/kernel/{postinst.d,postrm.d}/zz-update-grub missing on amd64
  with grub-efi-amd64-signed installed without grub-pc or grub-efi-amd64.
  
   * This results in newly installed kernels not getting added to grub.cfg
  and thus upon reboot one does not boot into the new kernel.
  
   * In later series these scripts moved to grub2-common. Maybe we should
  move these to grub2-common in bionic and earlier too, for compatibility
  with onegrub. Or alternatively grub2-signed should ship these in grub-
  efi-{amd64,arm64}-signed packages too.
  
  [Test Plan]
  
   * Install new grubs
  
+  * If testing on arm64 ensure that grub-efi-arm64 is not installed; and
+ grub-efi-arm64-signed is installed.
+ 
+  * If testing on amd64 ensure that grub-efi-amd64 and grub-pc are not
+ installed; and grub-efi-amd64-signed is installed.
+ 
   * Install a new kernel that was not installed before
  
   * Observe that grub.cfg is regenerated and new kernel is present
  
   * Remove an old kernel
  
   * Observe that grub.cfg is regenerated and new kernel is removed from
  grub.cfg
  
  [Where problems could occur]
  
   * These are conffiles. Although nobody should modify them, care should
  be taken when moving conffiles around.
  
  [Other Info]
  
   * First reported by klebers

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

Title:
  due to a new recommends grub-efi-arm64-signed is installed which does
  not have postinst.d script

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs