[init] No password prompt and stuck when connecting to Wi-Fi

Bug #2063313 reported by Yao Wei
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-desktop-provision
Fix Committed
Undecided
Unassigned

Bug Description

Internal reference: NANTOU-318

When selecting Wi-Fi for connection, the UI would stuck and does not ask for password.

Revision history for this message
Yao Wei (medicalwei) wrote :
Revision history for this message
Yao Wei (medicalwei) wrote :
Revision history for this message
Dennis Loose (dloose) wrote :

Could you provide the /var/log/installer/ubuntu_init.log* files?
Did you connect the network-manager plug?

Revision history for this message
Yao Wei (medicalwei) wrote :

1. That also happens when network-manager plug is connected.
2. I will provide the log tomorrow, since I don't have testing system at hand atm

Revision history for this message
Matthew Hagemann (matt-hagemann) wrote :

Thank you for the report, I have created a task to fix this on gh
https://github.com/canonical/ubuntu-desktop-provision/issues/711

Revision history for this message
Yao Wei (medicalwei) wrote :

I checked /var/log/installer but there's no ubuntu_init.log* file.

Revision history for this message
Dennis Loose (dloose) wrote :

Thanks for checking - I'm having a closer look now. It seems like there's still a permission issue when creating the log file. I'll tackle this one first and then see if I can reproduce the network manager issue.

Revision history for this message
Dennis Loose (dloose) wrote :

Opened an internal issue for the log file issue on github https://github.com/canonical/ubuntu-desktop-provision/issues/716

The logs should still be available through the journal though. Could you provide a complete journal for the original wifi issue? The file you attached above doesn't contain any events from the GDM session.

Revision history for this message
Dennis Loose (dloose) wrote :
Download full text (3.8 KiB)

I was able to reproduce the issue myself now. Relevant part of the journal:

Apr 25 11:56:50 asdf-Standard-PC-Q35-ICH9-2009 gnome-initial-setup.desktop[2062]: flutter: DEBUG network: Update devices: [WifiDevice(vendor: , model: , state: needAuth)]
Apr 25 11:56:50 asdf-Standard-PC-Q35-ICH9-2009 gnome-initial-setup.desktop[2062]: flutter: DEBUG network: Update access points: [AccessPoint(ssid: FRITZ!Box 7530 MR), AccessPoint(ssid: FRITZ!Box 7530 CX), AccessPoint(ssid: FRITZ!Box 7530 VU), AccessPoint(ssid: FRITZ!Box 7530 BZ), AccessPoint(ssid: DIRECT-ZM-FireTV_eca1), AccessPoint(ssid: FRITZ!Box 7530 BW), AccessPoint(ssid: WLAN-NE), AccessPoint(ssid: FRITZ!Box 7530 QH), AccessPoint(ssid: FRITZ!Box 7530 XH), AccessPoint(ssid: FRITZ!Box 7530 TC), AccessPoint(ssid: FRITZ!Box 7530 MQ), AccessPoint(ssid: FRITZ!Box 7530 PD), AccessPoint(ssid: Hotspot8EA2), AccessPoint(ssid: Hotspot0400), AccessPoint(ssid: FRITZ!Box 7530 YJ), AccessPoint(ssid: FRITZ!Box 7530 VH), AccessPoint(ssid: FRITZ!Box 7530 EV), AccessPoint(ssid: FRITZ!Box 7530 XO), AccessPoint(ssid: FRITZ!Box 7530 HS), AccessPoint(ssid: FRITZ!Box 7530 GF), AccessPoint(ssid: FRITZ!Box 7530 WW), AccessPoint(ssid: FRITZ!Box 7530 UE)] (WifiDevice(vendor: , model: , state: needAuth))
Apr 25 11:56:50 asdf-Standard-PC-Q35-ICH9-2009 gnome-initial-setup.desktop[2062]: flutter: DEBUG network: Update devices: [WifiDevice(vendor: , model: , state: needAuth)]
Apr 25 11:56:50 asdf-Standard-PC-Q35-ICH9-2009 accounts-daemon[1031]: failed to check if user 'asdf' in cache dir is present on system: No such file or directory
Apr 25 11:56:51 asdf-Standard-PC-Q35-ICH9-2009 systemd[1]: systemd-localed.service: Deactivated successfully.
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 NetworkManager[1066]: <warn> [1714039012.6561] device (wlp7s0): no secrets: No agents were available for this request.
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 NetworkManager[1066]: <info> [1714039012.6562] device (wlp7s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 NetworkManager[1066]: <info> [1714039012.6564] manager: NetworkManager state is now CONNECTED_SITE
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 NetworkManager[1066]: <warn> [1714039012.6566] device (wlp7s0): Activation: failed for connection 'FRITZ!Box 7530 MR'
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 NetworkManager[1066]: <info> [1714039012.6567] device (wlp7s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 wpa_supplicant[1073]: wlp7s0: Reject scan trigger since one is already pending
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 wpa_supplicant[1073]: wlp7s0: WPS-CANCEL
Apr 25 11:56:52 asdf-Standard-PC-Q35-ICH9-2009 gnome-initial-setup.desktop[2062]: flutter: DEBUG network: Update access points: [AccessPoint(ssid: FRITZ!Box 7530 MR), AccessPoint(ssid: FRITZ!Box 7530 CX), AccessPoint(ssid: FRITZ!Box 7530 VU), AccessPoint(ssid: FRITZ!Box 7530 BZ), AccessPoint(ssid: DIRECT-ZM-FireTV_eca1), AccessPoint(ssid: FRITZ!Box 7530 BW), AccessPoint(ssid: WLAN-NE), AccessPoint(ssid: FRITZ!Box 7530 QH), Acc...

Read more...

Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: New → Triaged
Revision history for this message
Dennis Loose (dloose) wrote :

Update: the issue seems to be that we're not launching gnome-keyring-daemon like gnome-initial-setup does.

Revision history for this message
Dennis Loose (dloose) wrote :

This should fix it by unlocking the login keyring in provd: https://github.com/canonical/ubuntu-desktop-provision/pull/724

Changed in ubuntu-desktop-provision:
status: Triaged → Fix Committed
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.