Wifis disappeared [3.4.0.22]

REPRODUCIBILITY (% or how often): once
BUILD ID: 3.4.0.22 (Pallas-Yllästunturi)
HARDWARE (Jolla1, Tablet, XA2,…): XA2 Plus
UI LANGUAGE: german
REGRESSION: (compared to previous public release: Yes, No, ?): YES

DESCRIPTION:

After updating to Sailfish OS 3.4.0.22 my connected Wifis are gone and I have to connect to each one again :-/

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Upgrade from 3.3.0 to 3.4.0

EXPECTED RESULT:

ACTUAL RESULT:

After workaround from pmelas solved for me:

    [root@Sailfish nemo]# systemctl stop connman-nemo-migration
    [root@Sailfish nemo]# systemctl start connman-nemo-migration
    [root@Sailfish nemo]# systemctl status connman-nemo-migration
    ● connman-nemo-migration.service - ConnMan WiFi and VPN nemo user migration service
       Loaded: loaded (/usr/lib/systemd/system/connman-nemo-migration.service; disabled; vendor preset: enabled)
       Active: inactive (dead) since Thu 2020-10-01 09:51:38 BST; 10s ago
      Process: 9335 ExecStart=/usr/bin/connman-nemo-migration (code=exited, status=0/SUCCESS)
     Main PID: 9335 (code=exited, status=0/SUCCESS)

    Oct 01 09:51:30 Sailfish systemd[1]: Starting ConnMan WiFi and VPN nemo user migration service...
    Oct 01 09:51:30 Sailfish connman-nemo-migration[9335]: migrating WiFi and VPN services from /home/.system/var/lib to /home/nemo...ileged
    Oct 01 09:51:30 Sailfish connman-nemo-migration[9335]: removing settings file /home/.system/var/lib/connman/settings from root
    Oct 01 09:51:38 Sailfish connman-nemo-migration[9335]: removing WiFi services from root
    Oct 01 09:51:38 Sailfish connman-nemo-migration[9335]: migration done
    Oct 01 09:51:38 Sailfish systemd[1]: Started ConnMan WiFi and VPN nemo user migration service.
    Hint: Some lines were ellipsized, use -l to show in full.

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

10 Likes

Yeah, same issue here.

I can’t confirm.
Xperia XA2 Plus

Same problem here, on Xperia X

1 Like

My Jolla 1 is OK, wifi settings preserved.

2 Likes

All there after 2nd reboot. Xperia X

Same here, XA2 Dual SIM

Wifi disappears on my Intex Aqua Fish (identf. as JollaC) too.

Confirmed on Xperia 10, although after restart I can see them again.

Can confirm on Xperia X.

Same here on Xperia XA2.

Same here, Xperia 10 plus.

Same here Xperia XA2 dual sim

i saw them first, when i turned of wifi, but then they are gone.
xperia 10

Not only WiFi settings disappeared after updating to 3.4.0.22, but also VPN entries The openvpn configuration I had used before is no longer present.

Confirmed on XA2+ too.

Thank you for the post. We have created a report for this.

2 Likes

Could you please check the following?

Contents of:

  • /home/.system/var/lib/connman and connman-vpn

ls -la /home/.system/var/lib/connman{,-vpn}

  • /home/nemo/.local/share/system/privileged/connman and connman-vpn

ls -la /home/nemo/.local/share/system/privileged/connman{,-vpn}

Status of connman-nemo-migration

systemctl status connman-nemo-migration

This means that migration has been done:

Condition: start condition failed at Wed 2020-09-30 12:23:24 EEST; 2h 12min ago
ConditionPathExists=!/home/.system/var/lib/connman.nemo.migrated was not met

We would like to know if restarting connman while user is logged in does anything. This would suggest something odd with the messages sent from systemd logind and how they are processed. journal should have for nemo:

journalctl -a|grep “user changed to”
connmand[xxx] user changed to 100000

Also log from all connmand entries in journal would help.

journalctl -a|grep connmand > connmand.log

2 Likes

On XA2 Plus, didn’t have any problem. However, on X10, connected wifi disappered and had to add them manually (as per the OP).

@jiit Here is the output of requested commands. I manually added wifi details after the upgrade.

[root@XperiaXA2-DualSIM nemo]# ls -la /home/.system/var/lib/connman{,vpn}
ls: /home/.system/var/lib/connmanvpn: No such file or directory
/home/.system/var/lib/connman:
total 36
drwx------ 8 root root 4096 Sep 29 22:18 .
drwxr-xr-x 5 root root 4096 Sep 29 22:19 …
drwx------ 2 root root 4096 Sep 29 17:38 cellular_404400998904813_context1
drwx------ 2 root root 4096 Sep 30 14:18 global_proxy
drwx------ 2 root root 4096 Sep 30 14:18 iptables
-rw------- 1 root root 292 Sep 29 22:18 settings
drwx------ 2 root root 4096 Sep 4 10:49 wifi_3878625c4cf7_4f6e65506c75732037_managed_psk
drwx------ 2 root root 4096 Sep 30 14:18 wifi_3878625c4cf7_53414d5f3547_managed_psk
drwx------ 2 root root 4096 Sep 29 22:22 wifi_3878625c4cf7_53414d_managed_psk

[root@XperiaXA2-DualSIM nemo]# ls -la /home/nemo/.local/share/system/privileged/connman{,-vpn}
/home/nemo/.local/share/system/privileged/connman:
total 20
drwx------ 4 root root 4096 Sep 30 14:19 .
drwxrwx— 15 privileg privileg 4096 Sep 29 22:22 …
-rw------- 1 root root 153 Sep 30 14:19 settings
drwx------ 2 root root 4096 Sep 30 13:15 wifi_3878625c4cf7_53414d5f3547_managed_psk
drwx------ 2 root root 4096 Sep 30 14:19 wifi_3878625c4cf7_53414d_managed_psk

/home/nemo/.local/share/system/privileged/connman-vpn:
total 8
drwx------ 2 root root 4096 Sep 29 22:22 .
drwxrwx— 15 privileg privileg 4096 Sep 29 22:22 …

[root@XperiaXA2-DualSIM nemo]# systemctl status connman-nemo-migration
● connman-nemo-migration.service - ConnMan WiFi and VPN nemo user migration service
Loaded: loaded (/usr/lib/systemd/system/connman-nemo-migration.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-09-30 14:18:50 IST; 4h 28min ago
Process: 4583 ExecStart=/usr/bin/connman-nemo-migration (code=exited, status=1/FAILURE)
Main PID: 4583 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Command journalctl -a|grep “user changed to” failed to run

Output of command journalctl -a|grep connmand > connmand.log

Sep 30 18:41:32 XperiaXA2-DualSIM connmand[4587]: failed to get active session and/or user for seat seat0
Sep 30 18:47:59 XperiaXA2-DualSIM connmand[4587]: failed to get active session and/or user for seat seat0

Ran the migration manually.
systemctl status output

[root@XperiaXA2-DualSIM nemo]# systemctl status connman-nemo-migration
● connman-nemo-migration.service - ConnMan WiFi and VPN nemo user migration service
Loaded: loaded (/usr/lib/systemd/system/connman-nemo-migration.service; disabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2020-09-30 18:54:32 IST; 1min 24s ago
Process: 7214 ExecStart=/usr/bin/connman-nemo-migration (code=exited, status=0/SUCCESS)
Main PID: 7214 (code=exited, status=0/SUCCESS)

Sep 30 18:54:31 XperiaXA2-DualSIM systemd[1]: Starting ConnMan WiFi and VPN nemo user migration service…
Sep 30 18:54:31 XperiaXA2-DualSIM connman-nemo-migration[7214]: migrating WiFi and VPN services from /home/.system/var/lib to /home/nemo/.local/share/system/privileged
Sep 30 18:54:31 XperiaXA2-DualSIM connman-nemo-migration[7214]: removing settings file /home/.system/var/lib/connman/settings from root
Sep 30 18:54:31 XperiaXA2-DualSIM connman-nemo-migration[7214]: removing WiFi services from root
Sep 30 18:54:32 XperiaXA2-DualSIM connman-nemo-migration[7214]: migration done
Sep 30 18:54:32 XperiaXA2-DualSIM systemd[1]: Started ConnMan WiFi and VPN nemo user migration service.

After invoking the migration, WLAN connection got interrupted again and list was empty. On restarting the WLAN, added wifi setup after 3.4 upgrade got listed and connected.

connmand log after running manual migration

Sep 30 18:51:04 XperiaXA2-DualSIM connmand[4587]: failed to get active session and/or user for seat seat0
Sep 30 18:52:40 XperiaXA2-DualSIM connmand[4587]: failed to get active session and/or user for seat seat0
Sep 30 18:54:32 XperiaXA2-DualSIM connmand[4587]: failed to get active session and/or user for seat seat0
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690254602] [18:55:03.548119] wlan: [4587:I :HDD] __hdd_stop: 2661: Disabling queues, adapter device mode: QDF_S
TA_MODE(0), event-flags: 6f
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690255598] [18:55:03.548171] wlan: [4587:I :HDD] hdd_stop_adapter: 4878: enter(wlan0)
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690255797] [18:55:03.548182] wlan: [4587:I :HDD] hdd_stop_adapter: 4887: Disabling queues
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690257727] [18:55:03.548282] wlan: [4587:W :SME] dump_csr_command_info: 506: Unhandled command: 65542 session:
0
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690701690] [18:55:03.571405] wlan: [4587:E :HDD] __wlan_hdd_ipv6_changed: 248: Rcvd change addr request on wlan
0(flags 0x9002)
Sep 30 18:55:03 XperiaXA2-DualSIM kernel: R0: [connmand][318690702320] [18:55:03.571438] wlan: [4587:E :HDD] __wlan_hdd_ipv6_changed: 249: NETDEV Interface is down, ignori
ng…
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716484312] [18:55:04.914250] wlan: [4587:I :HDD] hdd_wlan_start_modules: 2319: Driver modules already Enabled
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716485307] [18:55:04.914302] wlan: [4587:I :HDD] hdd_start_adapter: 2084: enter(wlan0)
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716490087] [18:55:04.914551] wlan: [4587:W :SME] dump_csr_command_info: 506: Unhandled command: 65541 session:
0
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716636504] [18:55:04.922177] wlan: [4587:I :HDD] hdd_init_station_mode: 3542: send HT/VHT IE per band using non
dbs hwmode
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716646806] [18:55:04.922713] wlan: [4587:E :HDD] hdd_init_station_mode: 3608: LRO is disabled either because of
kernel doesnot support or disabled in INI or via vendor commandi. err code -38
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716660239] [18:55:04.923413] wlan: [4587:I :HDD] hdd_configure_chain_mask: 4077: firmware not capable. skip cha
in mask programming
Sep 30 18:55:04 XperiaXA2-DualSIM kernel: R0: [connmand][318716671191] [18:55:04.923983] wlan: [4587:I :HDD] __hdd_open: 2575: wlan0 interface up, event-flags: 6f
Sep 30 18:55:05 XperiaXA2-DualSIM connmand[4587]: [gsupplicant] WARNING! Unexpected interface capability key GroupMgmt
Sep 30 18:55:06 XperiaXA2-DualSIM connmand[4587]: Skipping disconnect of 53414d_managed_psk, network is connecting.
Sep 30 18:55:07 XperiaXA2-DualSIM connmand[4587]: ntp: adjust (slew): +0.372443 sec
Sep 30 18:55:45 XperiaXA2-DualSIM connmand[4587]: ntp: adjust (slew): +0.319771 sec

1 Like