Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New network cards default to "Y" with "make oldconfig"
Date: Sun, 24 Mar 2019 20:48:50
Message-Id: 83a906ab-2d66-0711-db39-f4d496335b88@gmail.com
In Reply to: Re: [gentoo-user] New network cards default to "Y" with "make oldconfig" by Rich Freeman
1 Rich Freeman wrote:
2 > On Sun, Mar 24, 2019 at 3:34 PM Dale <rdalek1967@×××××.com> wrote:
3 >> Rich Freeman wrote:
4 >>> On Sun, Mar 24, 2019 at 1:02 PM Dale <rdalek1967@×××××.com> wrote:
5 >>>> Rich Freeman wrote:
6 >>>>> Suppose you have an Acme model 1234 network card. You've previously
7 >>>>> answered Yes to enabling its driver, and No to enabling the Acme model
8 >>>>> 2345 card.
9 >>>>>
10 >>>>> Now a new option comes along to show/hide all the Acme cards. That is
11 >>>>> a new option, so it has no existing value as far as the config
12 >>>>> database design goes. If you answer No, then you disable your model
13 >>>>> 1234 card (without even being asked, because that isn't a new option).
14 >>>>> If you answer yes then effectively your previous choices remain in
15 >>>>> effect (model 1234 remains enabled, and model 2345 remains disabled).
16 >>>>>
17 >>>> One would think it should ask if you want any ACME drivers first. If
18 >>>> you say yes then ask which ones you want. If you answer no then disable
19 >>>> them all and move to the Better-than-nothing drivers next in the list,
20 >>>> assuming the are alphabetical.
21 >>> This is exactly what it is doing. There is a new question about
22 >>> whether you want any ACME drivers. It defaults to Yes. If you answer
23 >>> Yes then it prompts you for each individual driver, though it will
24 >>> skip those prompts since you've already answered them.
25 >>>
26 >>> If you answer No then it will set all the individual drivers to No
27 >>> (including the ones you previously set to Yes), and not prompt you
28 >>> further.
29 >>>
30 >>>> Once you get past that driver, nothing
31 >>>> else should disable the drivers you wanted.
32 >>> But the drivers you wanted WERE Acme drivers, so if you answered No to
33 >>> that question why would it prompt for those?
34 >>>
35 >> The point I was making is once set to yes, then questions after that
36 >> should not go back and disable what you said yes too. If a person goes
37 >> to the trouble of saying yes, then nothing after that should reverse
38 >> that option back to no. From what I understand, if it asks a question
39 >> later on and you say no, it reverses a previous yes even if you want
40 >> that first one included.
41 > The new question comes before the old question in sequence.
42 >
43 > Before the questions were:
44 >
45 > 1. Do you want to install the Acme 1234 driver?
46 > 2. Do you want to install the Acme 2345 driver?
47 >
48 > After the upgrade the questions are:
49 >
50 > 0. Do you want to install any Acme drivers?
51 > 1. Do you want to install the Acme 1234 driver?
52 > 2. Do you want to install the Acme 2345 driver?
53 >
54 > So, if you answer question 0 with a no, then it sets 1/2 to a no as
55 > well. These questions come AFTER question 0, even if you had already
56 > answered them in an earlier kernel version that was missing question
57 > 0.
58 >
59 > Again, I'm not saying it is ideal. However, this is why question 0
60 > defaults to yes. If you accidentally answer Yes for question 0 when
61 > you intended no, the only effect is asking questions 1/2, which won't
62 > actually get asked since you had previously answered them anyway.
63 > Question 0 doesn't actually change the kernel build - it just controls
64 > whether questions 1/2 get asked, and if you answer it no then it sets
65 > 1/2 to no as well. It is a design compromise so that they didn't have
66 > to rethink the entire kernel config design.
67 >
68
69
70 This sounds like one of those situations where there is no ideal method
71 to doing it.  If it is done one way, it can cause confusion or a person
72 to think something is enabled when it isn't.  If done another way,
73 another group of people are going to be confused.  Either way, someone
74 is going to want it another way therefore there is no easy way to do
75 it.  Sort of reminds me of six of one, half a dozen of the other.  ;-)
76
77 Unless some code geek can come up with a way to satisfy everyone, some
78 of us are just going to have to get used to it being like it is. 
79
80 Dale
81
82 :-)  :-)