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

Bug#242976: forgets to display screen for question on backup (very strange)



Package: cdebconf
Severity: normal
Tags: d-i
Version: 0.59

I found a very strange problem. The script below should reproduce it, at
least run in d-i from the shell in console #2 after grub-installer is
loaded. At the first question shown, hit the back button. It seems to
hang, and set -x reveals that it's at 'read -r _LINE' inside the
confmodule.

Now, if I type "hi mom", and enter (nothing is displayed on screen as I
do this), it will stop blocking and continue. The last line, which gets
the value of the question, includes my "hi mom" in the value. So it's
like the dialog box is just not being displayed, but cdebconf is still
waiting for me to type input in it and hit enter. I've even used line
editing commands, blind, and all happens as I'd expect.

#!/bin/sh
. /usr/share/debconf/confmodule
set -x
db_capb backup
db_progress START 0 6 grub-installer/progress/title
db_progress INFO grub-installer/progress/step_install
db_input high grub-installer/apt-installer-failed
db_go
db_input critical grub-installer/bootdev
db_go
db_get grub-installer/bootdev

The above is nearly the minimal testcase to reproduce this. The set -x,
the INFO line and the final db_get can be removed and it will still happen.
The progress bar must have been brought up, or the bug will not occur.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: