1 |
William Hubbs posted on Mon, 03 Oct 2016 16:59:33 -0500 as excerpted: |
2 |
|
3 |
> I want to look into removing grub:0 from the tree; here are my thoughts |
4 |
> on why it should go. |
5 |
|
6 |
I don't disagree with the thought, but have some niggles on the |
7 |
individual points. Note that I'm not nearly as negative on the idea in |
8 |
general as the comments on the individual points may suggest on their own. |
9 |
|
10 |
> - the handbook doesn't document grub:0; we officially only support |
11 |
> grub:2. |
12 |
|
13 |
That's not a reason to remove grub:0 from the tree. If it was, there's |
14 |
many other alternative boot managers that would need removed as well. |
15 |
Thankfully, gentoo tends to emphasize choice. =:^) |
16 |
|
17 |
> - There are multiple bugs open against grub:0 (15 at my last count). A |
18 |
> number of these as I understand it are because of custom patches we |
19 |
> apply. |
20 |
|
21 |
+1 |
22 |
|
23 |
> - grub:0 can't boot a nomultilib system, so we have to maintain a |
24 |
> separate package (grub-static) specifically for that setup. |
25 |
|
26 |
Grub:0 can _boot_ a no-multilib system just fine. AFAIK the problem is |
27 |
at build time -- a no-multilib system can't *build* grub:0. |
28 |
|
29 |
FWIW I run no-multilib myself, but as I switched from a multilib system |
30 |
and still had its grub:0 installed and booting when I first went no- |
31 |
multilib, I know it /boots/ just fine. |
32 |
|
33 |
And AFAIK that's actually what grub-static is, a pre-built grub:0 tarball |
34 |
with an installer that installs the prebuilt pieces in all the right |
35 |
places, originally developed IIRC by the gentoo/amd64 folks precisely to |
36 |
solve the amd64 no-multilib build problem. |
37 |
|
38 |
> - Removing grub:0 from the tree doesn't stop you from using it. If |
39 |
> people really want it I will place it in the graveyard overlay. |
40 |
|
41 |
Another alternative would be simply hard-masking it, but leaving it in |
42 |
place for those who want it. It does still work, and I see no evidence |
43 |
we're removing it due to security issues or breakage. |
44 |
|
45 |
> - We have custom patches for grub:0, which will never go upstream. |
46 |
> |
47 |
> - grub:0 is dead upstream. They have not done any work on it in years. |
48 |
|
49 |
Both valid points. |
50 |
|
51 |
But I'll make the same point here as I did on a different proposed |
52 |
package removal thread recently. General gentoo policy is that a dead |
53 |
upstream (and lack of a gentoo maintainer) isn't sufficient reason to |
54 |
remove a package if it still works. As long as it's not broken or a |
55 |
security issue, the general policy is to leave it in the tree for anyone |
56 |
that needs it. |
57 |
|
58 |
So is grub:0 so broken it justifies removal from the tree, despite |
59 |
potentially many users still having it installed and working just fine? |
60 |
|
61 |
> - The only real problem with grub:2 has to do with pperception. Yes, |
62 |
> their documentation has a strong preference toward using their |
63 |
> configuration script (grub-mkconfig) to generate your grub.cfg, but |
64 |
> this is not required. |
65 |
|
66 |
+100. Good gentoo documentation on properly creating and managing your |
67 |
own grub.cfg without their config script would go a long way here. (This |
68 |
may already exist, I switched to grub2 while the documentation remained |
69 |
quite raw.) |
70 |
|
71 |
An alternative would be a pointer to quality Arch documentation, or the |
72 |
like. Obviously we're unlikely to ever get it from upstream, tho they do |
73 |
provide generally reasonable manpage style (tho not specifically manpage) |
74 |
documentation, just not anything really user level. |
75 |
|
76 |
> So, I want to make a plan to lastrite grub:0 and grub-static. |
77 |
> |
78 |
> I'm thinking, in about a week, p.mask grub:0 along with grub-static and |
79 |
> send out a lastrites msg with a 30 day removal notice. |
80 |
|
81 |
I'd suggest that this is a sufficiently huge change (comparable in level |
82 |
to the openrc upgrade you handled a few years back, tho obviously not as |
83 |
wide ranging in terms of other packages affected) for anyone still on |
84 |
grub:0 that a far longer warning and removal period is justified. |
85 |
|
86 |
I'd suggest something more like six months, with a news item beginning |
87 |
the period, and the traditional 30-day package-masking five months later, |
88 |
to encourage the laggerts. |
89 |
|
90 |
|
91 |
And again, is grub:0 really more broken than say lilo? I believe it |
92 |
remains more flexible, even if not as flexible as grub:2. If it's not |
93 |
more broken, what justifies removal from the tree when lilo and various |
94 |
other similar boot manager packages remain? |
95 |
|
96 |
That said, as I said at the beginning, I'm not entirely opposed, either. |
97 |
Primarily, I simply don't see the sense in removing grub:0 and grub- |
98 |
static if lilo and etc remain, and it seems to me that if we're actually |
99 |
going to be removing grub:0 and grub-static, we should be considering |
100 |
removal of the others as well, because in practice, grub:0 isn't really |
101 |
more limiting or more broken than they are. And removal of all those |
102 |
/would/ be a shame, as well as arguably an abrogation of the emphasis on |
103 |
choice that gentoo is known for. |
104 |
|
105 |
-- |
106 |
Duncan - List replies preferred. No HTML msgs. |
107 |
"Every nonfree program has a lord, a master -- |
108 |
and if you use the program, he is your master." Richard Stallman |