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

Bug#487691: user-setup: endless loop after entering empty root passwords



On Mon, Jun 23, 2008 at 06:06:55PM +0200, Frans Pop wrote:
> Package: user-setup
> Version: 1.20
> Severity: minor
> 
> The following sequence (at medium priority) will result in an apparent 
> loop:
> 1 Allow root -> yes
> 2 Root password -> empty
> 3 Confirm passwd -> empty
> 4 Error dialog -> continue
> 5 Back to 1: Allow root -> go back
> 
> This should result in the menu being displayed, but does result in a loop:
> 4 Error dialog -> continue
> 5 Back to 1: Allow root -> go back
> 
> It's possible to break out of the loop by using go back instead of 
> continue, but that's not obvious.
> 
> This may well be a cdebconf error instead of an error in user-setup. 
> Possibly the queue is not cleared correctly/completely.
> A cdebconf trace is probably needed here.

debconf receives:
  INPUT critical user-setup/password-empty
  INPUT low passwd/shadow
  INPUT medium passwd/root-login
  GO

So actually, the behaviour of the "Go back" button is right for the newt
frontend according to the questions asked.

You can easily see this in the GTK+ frontend, where the error message is
displayed on the same screen than "Allow root".

Usuability wise, this is an issue.  We could decide to change the
behaviour of the newt frontend and making it skip questions with type
"error" when going back.  I have written a patch doing just that which
worked fine during my tests.

I am not reassigned yet, as we could also solve this issue in
user-setup by making error questions have their very own GO.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: