Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] sys-boot/grub:0 (GRUB legacy) sunset planning
Date: Sat, 02 Sep 2017 15:56:13
Message-Id: robbat2-20170902T153438-023766176Z@orbis-terrarum.net
1 Hi,
2
3 The base-system project would like to put forward a plan to sunset GRUB
4 Legacy, sys-boot/grub:0 (grub-0.97).
5
6 What does this cover?
7 ---------------------
8 - sys-boot/grub:0
9 - sys-boot/grub-static
10
11 What does this NOT cover?
12 -------------------------
13 - sys-boot/grub:2
14 - app-emulation/xen-pvgrub [1]
15 - app-emulation/grub-xen-host [1]
16
17 Why should it go?
18 -----------------
19 - No longer supported by upstream
20 - no upstream fixes at all for 5+ years
21 - very fragile to toolchain changes.
22
23 Why does it need to stay at all?
24 --------------------------------
25 - grub:0 is still used by legacy systems where the upgrade is
26 non-trivial (eg. re-partitioning), or not supported (eg. vendor
27 clouds)
28 - grub-static was heavily used in specific profiles [2] where the build
29 system produced a grub that didn't work properly. I think (but would
30 like confirmation) that the grub-static use cases are no longer in
31 use.
32
33 What are other distributions doing?
34 -----------------------------------
35 - Ubuntu shipped both versions of grub for Xenial, but dropped them
36 entirely for Zesty & Artful.
37 - Debian: still offers grub-legacy, but defaults to grub-2.
38 - Fedora: hasn't shipped grub-0 in years.
39 - CentOS: 6 ships grub-0.97 only, 7 ships grub2 only.
40
41 The plan:
42 ---------
43 - To the extent possible, no new installs should use grub:0.
44 - package.mask grub:0
45 - Last-rite grub-static if not needed.
46 - No new functionality will be accepted
47 - Outstanding feature patches/bugs will be closed (e.g. btrfs, tpm)
48 - Fixes to keep it building correctly will be accepted (e.g. gcc-6)
49 - base-system, as a project, will only maintain grub:2 from this point
50 forward.
51 - metadata.xml will mark base-system as maintaining grub:2 only.
52 - metadata.xml will list explicit grub:0 maintainers.
53 - This is only available while there is sufficient skilled
54 manpower/maintainers.
55
56 Open questions:
57 --------------
58 - Are there more maintainers willing to put their name in the hat?
59 - Are there existing use cases that I've missed, where migration to
60 grub-2 CANNOT be done?
61 - Are there other use cases that need grub-static?
62
63 [1] app-emulation/xen-pvgrub & app-emulation/grub-xen-host are
64 maintained by the Xen project. app-emulation/xen-pvgrub is the grub:0
65 part, and probably also deserving of sunset. app-emulation/grub-xen-host
66 depends on grub:2 and builds a specific config.
67 [2] hardened, no-multilib, mixed 64-bit kernel/32-ul systems.
68
69 --
70 Robin Hugh Johnson
71 Gentoo Linux: Dev, Infra Lead, Foundation Asst. Treasurer
72 E-Mail : robbat2@g.o
73 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
74 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] sys-boot/grub:0 (GRUB legacy) sunset planning "Hanno Böck" <hanno@g.o>
Re: [gentoo-dev] [RFC] sys-boot/grub:0 (GRUB legacy) sunset planning "William L. Thomson Jr." <wlt-ml@××××××.com>