Console-conf restarts on db when applying wrong wlan SSID or password

Bug #1672803 reported by Victor gonzalez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned
subiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Story: while running console-conf test plan I tried this with different sd cards and always get the same result. Once I type a wrong SSID or password for my wlan, it never returns a wrong SSID message, it keeps thinking and if I try to cancel it crashes rebooting console-conf.

Environment:
latest candidate image on db
- snapd 2.23.1
- candidate: 16-2 (1444) 69MB

Steps:

1º Flash db image from http://cdimage.ubuntu.com/ubuntu-core/16/candidate/
2º Boot core and press enter a couple of times to get to networking
3º Select wlan0
4º Type a wrong wlan SSID, the right password and press done
5º In networking page press done again

Expected result: console-conf returns a message about bad settings or bad config
Current result: it keeps thinking without returning any information and crashes when trying to cancel the process

Add info: once console-conf reboots there is no issue if you try with the correct configuration for your wlan

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I wanted to provide better feedback about this sort of thing but it's surprisingly difficult.

That said, crashing is definitely unexpected! Can you post the console-conf log file (/var/log/console-conf/subiquity-debug.log from the SD card) somewhere?

Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Hi @mwhudson!

I pulled the log file and also a little video to see how the bug looks like, hope it helps.

Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :
summary: - Console-conf crashes on db with wrong wlan SSID
+ Console-conf restarts on db typing wrong wlan SSID
Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Just tried to apply wlan credentials with a wrong password and correct SSID and console-conf also restarted

description: updated
summary: - Console-conf restarts on db typing wrong wlan SSID
+ Console-conf restarts on db when applying wrong wlan SSID or password
Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Pressing done in network connections page without applying any wlan config, and then trying to cancel it also reboots console-conf

Changed in subiquity (Ubuntu):
status: New → Fix Committed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

So what was going on here was that the configuration was supposed to time out after 30s, but it wasn't thanks to a bug. Canceling the configuration after that 30s had expired led to the crash.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subiquity - 0.0.29

---------------
subiquity (0.0.29) zesty; urgency=medium

  * Fix a crash when widgets disappear (e.g. when a NIC is unplugged).
    (LP: #1667829)
  * Run subiquity on the serial console. (LP: #1660194)
  * Various improvements in wording and layout.
  * Allow a filesytem to be formatted but not mounted.
  * Rewrite the filesystem model code.
  * Change the geninstaller script to use netplan for network config.
  * Actually use the network config the user provides in the installed system.
  * Allow the gateway to be omitted when manually configuring an interface.
  * Make sure that timing out when waiting for a default route works properly.
    (LP: #1672803)
  * Make sure WPA PSK is between 8 and 63 characters long.
  * Add a confirmation dialog before writing data to disk.
  * Fix crash on startup of a configured Ubuntu Core system with no IP address.

 -- Michael Hudson-Doyle <email address hidden> Wed, 29 Mar 2017 11:09:03 +1300

Changed in subiquity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Victor (vigotron) wrote :

I can confirm this is working now with latest image from candidate on dragonboard. I went through all the console-conf tests regarding misstyped SSIDs/passwords and everything is ok.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I'm marking the snappy task as fix released now.

Changed in snappy:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.