mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ross Boylan <RossBoylan@stanfordalumni.org>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: Ross Boylan <RossBoylan@stanfordalumni.org>,
	linux-kernel@vger.kernel.org,
	Manoj Srivastava <srivasta@debian.org>
Subject: Re: PROBLEM: Default initial config options all N
Date: Thu, 18 Sep 2003 21:26:21 -0700	[thread overview]
Message-ID: <20030919042621.GZ12620@wheat.boylan.org> (raw)
In-Reply-To: <16233.64980.415212.495182@gargle.gargle.HOWL>

On Thu, Sep 18, 2003 at 08:47:48PM +0200, Mikael Pettersson wrote:
> Ross Boylan writes:
>  > Please cc me on replies.
>  > 
>  > [1.] One line summary of the problem:  
>  > Defaults for oldconfig options not set correctly in recent 2.4 kernels
> 
> Define "correctly". Hint: it's user-dependent.

As I'm sure you're aware, defaults are not user-dependent; whether to
accept the default is user-dependent.

Correctly = appropriate default setting as determined by kernel
developers.  For all the new options to default to N requires both of
the following statements to be true:
1) All the defaults are properly N.
2) Defaults should be inconsistent with the textual help's
specification of what you should do if you're unsure.

1) seems unlikely and 2) is inconsistent with previous practice in the
kernel configuration, as well as inconsistent with reasonable
behavior.

> 
>  > [2.] Full description of the problem/report:
>  > Built 2.4.21 kernel, starting with config file from 2.4.20 and running
>  > oldconfig.  *All* new config options had default values of N.  The
>  > help text for the following options suggested "if unsure, pick Y":
>  > PF_KEY
>  > CONFIG_INET_AH
>  > CONFIG_INET_ESP
>  > CONFIG_INET_IPCOMP
>  > CONFIG_IP_NF_TFTP
>  > CONFIG_XFRM_USER
> 
> Not a bug.
> 
>  > Sample from the config dialog:
>  > 
>  > PF_KEY sockets (CONFIG_NET_KEY) [N/y/m/?] (NEW) ?
>  > 
>  > CONFIG_NET_KEY:
>  > 
>  >   PF_KEYv2 socket family, compatible to KAME ones.
>  >   They are required if you are going to use IPsec tools ported
>  >   from KAME.
>  > 
>  >   Say Y unless you know what you are doing.
>  > PF_KEY sockets (CONFIG_NET_KEY) [N/y/m/?] (NEW) y
> 
> Still not a bug. oldconfig stopped and asked you what to do,
> you checked the help text and chose Y.

Are you saying that oldconfig defaults to all N, but regular config
does something else?

I'd consider that undesirable behavior.  Whether it's a bug is a
philosophical question.

> 
> Option authors tend to want people to enable them (enable this
> cool feature!) but in real life, most are Ok to disable.

Are you saying option authors write the help text, but someone else
sets the default response?  So one may recommend Y while the  other
recommends N?  If so, that seems undesirable (and, to repeat, not
consistent with my earlier experiences).


> 
> If oldconfig were to choose Y for new options, then _that_
> would be a bug.
> 

      reply	other threads:[~2003-09-19  4:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18 16:59 Ross Boylan
2003-09-18 18:47 ` Mikael Pettersson
2003-09-19  4:26   ` Ross Boylan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030919042621.GZ12620@wheat.boylan.org \
    --to=rossboylan@stanfordalumni.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    --cc=srivasta@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®