Don't show history if zsys isn't installed for zsys systems

Bug #1845333 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Undecided
Unassigned
grubzfs-testsuite (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As we are not going to seed zsys on eoan, but our default layout will be zsys compatible for future upgraders, ensure we don't show up incompatible history entries in grub if it's not installed.

The current patch has multi-systems known limitations, but the feature is marked as experimental and this patch should be short-lived (until zsys is seeded).

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
Uname: Linux 5.3.0-10-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 25 15:53:02 2019
InstallationDate: Installed on 2014-07-15 (1898 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: grub2
UpgradeStatus: Upgraded to eoan on 2018-03-24 (549 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grubzfs-testsuite - 0.4.1

---------------
grubzfs-testsuite (0.4.1) eoan; urgency=medium

  * Fix lintian issues on copyright
  * Depends on zsys:
    Generate menu has some temporary zsys checks, add it for our tests to
    pass for the next grub upload. (LP: #1845333)

 -- Didier Roche <email address hidden> Wed, 25 Sep 2019 15:58:44 +0200

Changed in grubzfs-testsuite (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.04-1ubuntu9

---------------
grub2 (2.04-1ubuntu9) eoan; urgency=medium

  * debian/patches/ubuntu-zfs-enhance-support.patch:
    - Handle case of pure zfs only snapshots giving additional "}", and as
      such, creating invalid grub menu.
      Spotted by grubzfs-testsuite autopkgtests.

grub2 (2.04-1ubuntu8) eoan; urgency=medium

  * debian/patches/install-signed.patch -> ubuntu-install-signed.patch:
    Really fix the installation of UEFI artefacts to the distributor path (we
    only want shim, grub, and MokManager, and shim's boot.csv there), and to
    the removable /EFI/BOOT path (where we want shim and fallback only).
    Rename the patch to ubuntu- like others that are Ubuntu-specific or
    otherwise modified to avoid such confusion at merge time in the future.

grub2 (2.04-1ubuntu7) eoan; urgency=medium

  * debian/patches/ubuntu-zfs-enhance-support.patch:
    Disable history entry under some conditions:
    - Don't show up if the system is a zsys one and zsys isn't installed
      (LP: #1845333)
    - Don't show for pure zfs systems: we identified multiple issues due
      to the mount generator in upstream zfs which makes it incompatible.
      Disable for now (LP: #1845913)

 -- Didier Roche <email address hidden> Wed, 02 Oct 2019 09:59:19 +0200

Changed in grub2 (Ubuntu):
status: New → 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.