Ubuntu creates cluttered Petitboot menu entries

Bug #1447500 reported by bugproxy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre
Xenial
Fix Released
Medium
Mathieu Trudel-Lapierre
grub2-signed (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre
Xenial
Fix Released
Medium
Mathieu Trudel-Lapierre

Bug Description

[Impact]
PowerNV users.

[Test case]

== PowerNV ==
Needs to be done on a PowerNV system.
1) Install another operating system on a separate disk partition (such as Fedora or whatnot)
2) Install Ubuntu on a different partition.
2) Ensure os-prober isn't run and that all that is listed in grub is the Ubuntu entries, and that the Petitboot menu correctly lists only Ubuntu under the right partition, and doesn't duplicate the other installed operating system.

== Non-PowerNV ppc64el ==
To be run on non-powerNV systems (any of powerVM/powerKVM)
1) Install another operating system on a separate disk partition (see above)
2) Install Ubuntu on a different partition
3) Ensure the grub menu created by Ubuntu allows starting both operating systems.

[Regression Potential]
Due to the changes, os-prober not running to fill in the grub menu on a system with other operating systems installed (so as to list them in grub) would constitute a regression. Also, showing extra OSes again as retrieved from a partition's grub menu where os-prober should not have run.

----

Problem Description
==============================
Unlike PowerKVM and Fedora 21, Ubuntu 14.10 adds boot images from other disks to it's grub config which makes the Petitboot menu very cluttered.

Machine Type = 8286-42A

Steps to Reproduce
===============================
  Petitboot (dev.20150216) 8286-42A 107C53T

  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

- I then installed Ubuntu 14.10 on a second drive:

 Petitboot (dev.20150216) 8286-42A 107C53T

  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / cbe16446-c592-443d-971e-82ac66d07811]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
    Ubuntu, with Linux 3.16.0-31-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

- I then installed Fedora 21 a third drive:

 Petitboot (dev.20150216) 8286-42A 107C53T

  [Disk: sda2 / af68d8cd-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / cbe16446-c592-443d-971e-82ac66d07811]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
    Ubuntu, with Linux 3.16.0-31-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

- I then reinstalled Ubuntu 14.10 on the second drive:

 Petitboot (dev.20150216) 8286-42A 107C53T

 *[Disk: sda2 / af68d8cd-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / 0464ba94-dcfe-4b6e-841f-8a0a470562e1]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10 (on /dev/mappe
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7 (on /dev/mapper/fedora--server_t
    Fedora release 21 (Twenty One) (on /dev/mapper/fedora--server_tul304p1-root
    Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
    Ubuntu, with Linux 3.16.0-31-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

Install ISO Information: http://ports.ubuntu.com/ubuntu-ports/dists/utopic/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/

Userspace tool common name: grub2
The userspace tool has the following bit modes: 64-bit
Install method: HTTP
Userspace rpm: grub2-common
Install disk info: /dev/sda2

== Comment: #1 - Rolf Brudeseth <email address hidden> - 2015-03-09 21:42:08 ==
Jeremy Kerr indicated that this is the fix:

GRUB_DISABLE_OS_PROBER=true
In /etc/default/grub

== Comment: #3 - Rolf Brudeseth <email address hidden> - 2015-03-10 01:42:40 ==
dude@tul304p1:/etc/default$ diff grub.orig grub
5a6
> GRUB_DISABLE_OS_PROBER=true

dude@tul304p1:/etc/default$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinux-3.16.0-31-generic
Found initrd image: /boot/initrd.img-3.16.0-31-generic
done

- After a reboot:

 Petitboot (dev.20150216) 8286-42A 107C53T

  [Disk: sda2 / af68d8cd-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / 0464ba94-dcfe-4b6e-841f-8a0a470562e1]
    Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
    Ubuntu, with Linux 3.16.0-31-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

== Comment: #7 - Rolf Brudeseth <email address hidden> - 2015-04-07 18:32:26 ==
This is with 15.04.

 Petitboot (dev.20150326) 8286-42A 107C53T
  [Disk: sdb2 / d484d832-fa95-4286-92ab-d5e533d1a121]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le
  [Disk: sda2 / 2024aac1-7d09-458d-8485-685a432310d0]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Ubuntu, with Linux 3.19.0-12-generic (recovery mode)
    Ubuntu, with Linux 3.19.0-12-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu Vivid Vervet (development branch)"

== Comment: #8 - Rolf Brudeseth <email address hidden> - 2015-04-07 19:25:46 ==
I don't know if I have 14.10 or something newer.

I installed from the 'utopic-updates' URL:
http://ports.ubuntu.com/ubuntu-ports/dists/utopic-updates/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/

 Petitboot (dev.20150326) 8286-42A 107C53T
  [Disk: sdb2 / d484d832-fa95-4286-92ab-d5e533d1a121]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le
  [Disk: sda2 / 901486ef-660b-4f1d-8d19-2f728a065cbf]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Ubuntu, with Linux 3.16.0-33-generic (recovery mode)
    Ubuntu, with Linux 3.16.0-33-generic
    Ubuntu

  System information
  System configuration
  Language
  Rescan devices
  Retrieve config from URL
 *Exit to shell

dude@tul304p1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.10
DISTRIB_CODENAME=utopic
DISTRIB_DESCRIPTION="Ubuntu 14.10"

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-122570 severity-medium targetmilestone-inin---
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1447500/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Luciano Chavez (lnx1138)
affects: ubuntu → grub2 (Ubuntu)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

We probably should reduce this (using DISABLE_OS_PROBER), in the cases where we know it's unnecessary, so probably for ppc64el using grub-ieee1275.

Changed in grub2 (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Looking at comment 7:
== Comment: #7 - Rolf Brudeseth <email address hidden> - 2015-04-07 18:32:26 ==

Does this mean the issue of cluttered petitboot entries isn't present on 15.04?

Changed in grub2 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Luciano Chavez (lnx1138) wrote :

Problem is still present in 15.04

Changed in grub2 (Ubuntu):
status: Expired → Confirmed
bugproxy (bugproxy)
tags: added: targetmilestone-inin1510
removed: targetmilestone-inin---
Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :

@mathieu-tl: yes, if we can disable the OS prober when we're installing onto a petitboot-based machine, that'd be great.

Since petitboot will parse the other OS' config files independently, we don't need to include them in Ubuntu's list. Is there a current mechanism to detect the machine type?

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-10-15 01:16 EDT-------
*** Bug 124180 has been marked as a duplicate of this bug. ***

Jeremy Kerr (jk-ozlabs)
tags: added: taco-screen-team
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-02-24 07:26 EDT-------
Canonical,

Any updates?

tags: removed: bot-comment bugnameltc-122570 severity-medium taco-screen-team
bugproxy (bugproxy)
tags: added: bugnameltc-122570 severity-medium
Revision history for this message
bugproxy (bugproxy) wrote : grub2-powernv_os-prober.debdiff

------- Comment on attachment From <email address hidden> 2016-07-26 13:54 EDT-------

This is a patch for grub2 for 16.04 (on top of 2.02~beta2-36ubuntu3.1 which is at xenial-proposed) to add 'GRUB_DISABLE_OS_PROBER=true' on the PowerNV platform of ppc64el.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-08-02 13:39 EDT-------
Thanks, Rolf.

> [reply] [-] Comment 49 Rolf Brudeseth 2016-08-02 14:21:49 BRT
> The new deb packages resolved the issue.

Let's change target milestone for 16.04.1 (for updates), and this should make daily builds after accepted, and eventually the 16.04.2 ISO.

------- Comment From <email address hidden> 2016-08-02 13:40 EDT-------
Hi Canonical,

May you please pick up the attached patch for 16.04 updates?

Thanks!

------- Comment From <email address hidden> 2016-08-02 13:45 EDT-------
@taco-screen-team

Can this bug be reassigned to @cyphermox (previously @mathieu-tl), who was working on this before?

Thanks!

tags: added: targetmilestone-inin16041
removed: targetmilestone-inin1510
Revision history for this message
Luciano Chavez (lnx1138) wrote :

I've assigned bug to taco-screen-team. Can someone then assign to cyphermox as I am unable to. Thanks.

Changed in grub2 (Ubuntu):
assignee: nobody → Taco Screen team (taco-screen-team)
Steve Langasek (vorlon)
Changed in grub2 (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Mathieu Trudel-Lapierre (cyphermox)
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-09-29 04:51 EDT-------
As this bug is targeted to 14.10 which is obsolete , can you give a more complete status - is it fixed in 16.10 ? can we close it ? thx

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-09-29 09:40 EDT-------
Hi Thierry,

(In reply to comment #56)
> As this bug is targeted to 14.10 which is obsolete , can you give a more
> complete status - is it fixed in 16.10 ? can we close it ? thx

That 'target' doesn't seem accurate.
On LTC Bugzilla although the /Version/ field is 14.10, the /Target Milestone/ field is 16.04.x, which seems correct given the reporter's feedback on LTC BZ (internal) comment 47; this is expressed externally on LTC BZ comment 50.

And as far as Canonical status goes, looking at LP, there's no track for 16.04 yet, only 'Ubuntu' which is the current dev version, thus 16.04 at this time, but since the tag ' targetmilestone-inin16041' is set, and the desire for 16.04.x was expressed in comments, that will be taken care of.

Affects Status Importance Assigned to Milestone
? grub2 (Ubuntu) Confirmed Medium ? Mathieu Trudel-Lapierre Edit

So, per that status, still work in progress, cannot close it.

Hope this helps,

------- Comment From <email address hidden> 2016-09-29 09:41 EDT-------
(In reply to comment #57)
> [snip] only 'Ubuntu' which is the current dev version, thus 16.04 at
> this time, [snip]

Typo; 16.10 (Y-series) at this time

bugproxy (bugproxy)
tags: added: targetmilestone-inin16042
removed: targetmilestone-inin16041
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-01-09 12:30 EDT-------
(In reply to comment #50)
> Thanks, Rolf.
>
> > [reply] [-] Comment 49 Rolf Brudeseth 2016-08-02 14:21:49 BRT
> > The new deb packages resolved the issue.
>
> Let's change target milestone for 16.04.1 (for updates), and this should
> make daily builds after accepted, and eventually the 16.04.2 ISO.

Can someone confirm that this fix will be applied to the 16.04.2 ISO?

------- Comment From <email address hidden> 2017-01-09 12:47 EDT-------
(In reply to comment #62)
> (In reply to comment #50)
> > Thanks, Rolf.
> >
> > > [reply] [-] Comment 49 Rolf Brudeseth 2016-08-02 14:21:49 BRT
> > > The new deb packages resolved the issue.
> >
> > Let's change target milestone for 16.04.1 (for updates), and this should
> > make daily builds after accepted, and eventually the 16.04.2 ISO.
>
> Can someone confirm that this fix will be applied to the 16.04.2 ISO?

And on 17.04, if possible!

Thanks,

Guilherme

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Targetting to ubuntu-17.01 (end of January) for now so I can see it in the right upcoming work list, this should make sure it doesn't take yet more time to fix.

Changed in grub2 (Ubuntu):
status: Confirmed → In Progress
milestone: none → ubuntu-17.01
Changed in grub2 (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-01-10 13:13 EDT-------
(In reply to comment #65)
> Targetting to ubuntu-17.01 (end of January) for now so I can see it in the
> right upcoming work list, this should make sure it doesn't take yet more
> time to fix.

Could it be applied to 16.04.2 as well since that is an LTS release?

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Yes, that's the plan (I'll upload immediately after the upload to 17.04). We're tight on time to make it in to 16.04.2 though.

Changed in grub2-signed (Ubuntu):
importance: Undecided → Medium
Changed in grub2-signed (Ubuntu Xenial):
importance: Undecided → Medium
Changed in grub2-signed (Ubuntu):
status: New → In Progress
Changed in grub2-signed (Ubuntu Xenial):
status: New → In Progress
Changed in grub2 (Ubuntu Xenial):
status: Triaged → In Progress
Changed in grub2-signed (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Changed in grub2-signed (Ubuntu Xenial):
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2-signed - 1.78

---------------
grub2-signed (1.78) zesty; urgency=medium

  * Rebuild against grub2 2.02~beta3-3ubuntu2. (LP: #1447500)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 11 Jan 2017 12:09:12 -0500

Changed in grub2-signed (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.02~beta3-3ubuntu2

---------------
grub2 (2.02~beta3-3ubuntu2) zesty; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Disable os-prober for ppc64el on the PowerNV platform, to reduce the
    number of entries/clutter from other OSes in Petitboot (LP: #1447500)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 11 Jan 2017 11:25:21 -0500

Changed in grub2 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted grub2 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-36ubuntu3.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in grub2 (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
description: updated
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-01-13 11:12 EDT-------
Rolf,

Can you verify this packages in xenial-proposed?

(In reply to comment #70)
> Accepted grub2 into xenial-proposed. The package will build now and be
> available at

Thanks!

Revision history for this message
Simon Déziel (sdeziel) wrote :

amd64 user here, this new package asks to remove grub-efi-amd64-signed, is that intended?

# apt dist-upgrade --no-install-recommends
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
   grub-efi-amd64-signed (1.66.6+2.02~beta2-36ubuntu3.6)
The following packages will be upgraded:
   grub-common (2.02~beta2-36ubuntu3.6 => 2.02~beta2-36ubuntu3.7)
   grub-efi-amd64 (2.02~beta2-36ubuntu3.6 => 2.02~beta2-36ubuntu3.7)
   grub-efi-amd64-bin (2.02~beta2-36ubuntu3.6 => 2.02~beta2-36ubuntu3.7)
   grub2-common (2.02~beta2-36ubuntu3.6 => 2.02~beta2-36ubuntu3.7)
4 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2,940 kB of archives.
After this operation, 3,453 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hi @sdeziel,

> amd64 user here, this new package asks to remove grub-efi-amd64-signed, is that intended?

No, this change is not related to that,
as seen in this diff between it (2.02~beta2-36ubuntu3.7) and previous version (2.02~beta2-36ubuntu3.6).

Per the version you pasted (1.66.6+2.02~beta2-36ubuntu3.6), I guess that's an effect of a previous change to the grub packages, not applied yet to your system.

Please try to install 2.02~beta2-36ubuntu3.6 (previous version of this change), and see it the same happens.
Per the diff, this change has nothing to do with that behavior.

Thanks!

> # apt dist-upgrade --no-install-recommends
> ...
> The following packages will be REMOVED:
> grub-efi-amd64-signed (1.66.6+2.02~beta2-36ubuntu3.6)

[1] http://launchpadlibrarian.net/302140744/grub2_2.02~beta2-36ubuntu3.6_2.02~beta2-36ubuntu3.7.diff.gz

Revision history for this message
bugproxy (bugproxy) wrote : grub2-powernv_os-prober.debdiff

This is a patch for grub2 for 16.04 (on top of 2.02~beta2-36ubuntu3.1 which is at xenial-proposed) to add 'GRUB_DISABLE_OS_PROBER=true' on the PowerNV platform of ppc64el.

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Disregard this last patch. Problem w/ the bug mirror.

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

@sdeziel @cyphermox

There's a rebuild of grub2-signed (1.78) associated with this bug.
The proble that @sdeziel reported is related to grub-efi-amd64-signed, so might be related to that part.

Now I see the version installed at @sdeziel system is already 2.02~beta2-36ubuntu3.6, so not sure what's going on.

Might be related to this rebuild.. checking.

Revision history for this message
Simon Déziel (sdeziel) wrote :

Sorry for the noise, the packages arrived at different time on archive.ubuntu.com:

grub-efi-amd64-signed_1.66.7+2.02~beta2-36ubuntu3.7_amd64.deb: 2017-01-13 17:48
grub-efi-amd64_2.02~beta2-36ubuntu3.7_amd64.deb : 2017-01-13 17:14

After updating again, everything looks good and no package is tentatively removed. Thanks Mauricio.

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

@sdeziel, @cyphermox

No idea what that is due to.

The change in grub2-signed (which didn't seem carried/installed w/ dist-upgrade) is [1] and doesn't introduce a Conflicts: change in debian/control.

Nothing similar with regards to Conflicts: lines are seen in grub2's debian/control either.

Assistance is required to understand that, please.

[1] http://launchpadlibrarian.net/302145197/grub2-signed_1.66.6_1.66.7.diff.gz

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

@sdeziel

Great. Nice catch.

I had missed your last comment.
(and that the version number removed was the old ...3.6 not 3.7.

So, no problems!

Thanks!

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This is normal and expected; you need both grub2 and grub2-signed source packages in amd64 and arm64; those have a small delay because grub2 needs to be built (and accepted) before grub2-signed will build.

Steve Langasek (vorlon)
Changed in grub2-signed (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-01-16 10:53 EDT-------
This is verified OK.

Rolf installed a Power system w/ PowerKVM in one disk, then installed Ubuntu Xenial in another disk, then installed grub2 packages from xenial-proposed.

The comparison of grub.cfg files before/after shows that the entries to boot PowerKVM in the other disk are no longer present (only present in the .orig file, as shown in the diff below).

$ diff /boot/grub/grub.cfg /boot/grub/grub.cfg.orig|grep menuentry
> menuentry 'unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_system)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-7a7bdea5-29ac-4b23-86a6-2cd6f9c510b0' {
> submenu 'Advanced options for unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_system)' $menuentry_id_option 'osprober-gnulinux-advanced-7a7bdea5-29ac-4b23-86a6-2cd6f9c510b0' {
> menuentry 'IBM_PowerKVM 3.1.0, with Linux 3.18.22-354.el7_1.pkvm3_1_0.3600.1.ppc64le (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_system)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.18.22-354.el7_1.pkvm3_1_0.3600.1.ppc64le--7a7bdea5-29ac-4b23-86a6-2cd6f9c510b0' {

Thanks

------- Comment From <email address hidden> 2017-01-16 10:55 EDT-------
And this is the Petitboot screen.
No extra entries to boot PowerKVM other than its own.

Petitboot (dev.20151111) 8286-42A 107C53T

[Disk: sda2 / c27a0203-e5e2-485b-adbf-befff6ae4854]
IBM_PowerKVM 3.1.0, with Linux 3.18.22-354.el7_1.pkvm3_1_0.3600.1.ppc64le
[Disk: sdb2 / b375a4bc-3ecb-46ba-aa46-d1abd213227e]
Ubuntu, with Linux 4.4.0-59-generic (recovery mode)
Ubuntu, with Linux 4.4.0-59-generic
Ubuntu

------- Comment From <email address hidden> 2017-01-16 10:57 EDT-------
And some more bits in the verified system, for documentation purposes:

$ dpkg -s grub2-common | grep ^Version:
Version: 2.02~beta2-36ubuntu3.7

$ grep GRUB_DISABLE_OS_PROBER /etc/default/grub
GRUB_DISABLE_OS_PROBER=true

tags: added: verification-done
removed: verification-needed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-01-16 11:04 EDT-------
It would be great if this went into 16.04.2 since that is an LTS release.

Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for grub2 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2-signed - 1.66.7

---------------
grub2-signed (1.66.7) xenial; urgency=medium

  * Rebuild against grub2 2.02~beta2-36ubuntu3.7. (LP: #1447500)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 11 Jan 2017 21:37:11 -0500

Changed in grub2-signed (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.02~beta2-36ubuntu3.7

---------------
grub2 (2.02~beta2-36ubuntu3.7) xenial; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Disable os-prober for ppc64el on the PowerNV platform, to reduce the
    number of entries/clutter from other OSes in Petitboot (LP: #1447500)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 11 Jan 2017 19:07:05 -0500

Changed in grub2 (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.