[Debconf-devel] Bug#495319: debconf uses first value for select if old choice doesn't exist anymore; should at least be default

Tim Dijkstra tdykstra at famdijkstra.org
Fri Oct 24 21:31:21 UTC 2008


clone 495319 -1
retitle -1 On upgrades the default power off mode ends up as reboot
severity -1 serious
reassign -1 uswsusp
thanks

On Wed, Oct 22, 2008 at 03:25:18PM +0200, Bas Wijnen wrote:
> reassign 495319 debconf
> retitle 495319 debconf: uses first choice for select if old choice doesn't exist anymore
> thanks
> 
> Hi,
> 
> On Wed, Sep 03, 2008 at 10:13:14PM +0200, Tim Dijkstra wrote:
> > Somehow the problem is caused by the fact that one of the config
> > options changed name from 'poweroff' to 'shutdown'. If you previously
> > had poweroff that value was no-longer valid, somehow you not end up
> > with 'platform' which is the default... 
> 
> I was surprised to see that reboot is an option at all.  But that isn't
> a bug, of course. :-)

It is there for testing.

> The problem, AFAICS, is that debconf should treat this situation as
> "unanswered question" (which would result in asking again, or using the
> default), but does instead treat it as "answered as [first choice]".
> 
> A workaround for uswsusp would be to make "platform" the first choice
> (in debian/uswsusp.templates).  Note that while new installs are not
> affected, upgrades from etch to lenny are, and there are about to be a
> whole lot of those. 

That's why I've now cloned the bug and set severity to serious. I'll
upload a fix to testing proposed updates.

grts Tim





More information about the Debconf-devel mailing list