[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#228839: Should re-ask the debconf-priority question at the end of base-config



Quoting Steve Langasek (vorlon@netexpress.net):
> On Wed, Jan 21, 2004 at 03:48:01PM -0200, Otavio Salvador wrote:
> > Joey Hess <joeyh@debian.org> writes:
> 
> > > I dislike the idea of asking about debconf priority in base-config
> > > myself.
> 
> > You think we should configure the system in one /default/ but fixed
> > debconf priority?
> 
> What if base-config re-asks the question about debconf priority *at*
> medium priority, with the default value set to high?  This means that
> users who used the normal priority setting (high) in the installer just
> get behind-the-scenes confirmation of this setting, and users who ran
> the installer in expert mode, or who had a failure that reset the
> debconf priority, get the chance to reconfirm whether this is a
> preference they want carried over into the base system.

I think I get Gaudenz point....we do not only need to preserve the
"high" priority for users who boot with the default options, but keep
it anyway (for instance, if "critical" priority was forced.....)

The suggestion is resetting the debconf priority to what it was when
d-i was started-->usually high if no boot option was given at
boot...but maybe something else ion other cases.

Steve's proposal is also OK for me : it also prevents what I currently
dislike (being dropped down to medium just because something didn't
went smoothly during the installation process).

As a conclusion, I like Steve's proposal with one minor modification :

1) save initial priority to cdebconf/initial_priority at the very
   beginning of d-i
2) run d-i-->during this cdebconf/priority may change
3) 2nd stage-->debconf/priority inherits cdebconf/priority
4) end of 2nd stage : if debconf/priority < cdebconf/initial_priority,
   ask debconf/priority with default=cdebconf/initial-priority. This
   question has (cdebconf/initial-priority - 1) priority

Seems a bit complicated when written like this, but quite logical :
we offer the user a way to restore her initial choice just before
being dropped into the nightmare of answering gazillions of
questions....:-)





Reply to: