[Bug 1108570] New: After restarting NetworkManager service, it cannot read passwords from wallet
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570 Bug ID: 1108570 Summary: After restarting NetworkManager service, it cannot read passwords from wallet Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: adam@mizerski.pl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Requirements: - KDE - NetworkManager that has a wifi password saved in kwallet Steps to reproduce: - connect to password protected wifi - sudo systemctl restart NetworkManager Expected result: - wifi is set up correctly Actual result: - passwords don't show in gui in wifi security section - connecting to wifi fails, logs says: <info> [1537078992.8413] device (wlp1s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed') <warn> [1537078992.9063] device (wlp1s0): No agents were available for this request. <info> [1537078992.9067] device (wlp1s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed') Workarounds: - `nmcli connection up <connection name> --ask` - log out and log in again -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
Frank Kruger
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c2
Cimba Li
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c3
--- Comment #3 from Cimba Li
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c4
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c5
--- Comment #5 from Cimba Li
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c6
--- Comment #6 from Cimba Li
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c7
Till Dörges
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c8
--- Comment #8 from Fabian Vogt
It appears that a standard openSUSE Leap 15.1 suffers from the same issue (and it's actually quite annoying).
Shall I open a separate bug for that?
If it's the same one, no.(In reply to Till Dörges from comment #7)
It appears that a standard openSUSE Leap 15.1 suffers from the same issue (and it's actually quite annoying).
Shall I open a separate bug for that?
FTR, I have these RPMs:
libKF5NetworkManagerQt6-5.55.0-lp151.1.1.x86_64 NetworkManager-1.10.6-lp151.8.1.x86_64 plasma-nm5-5.12.8-lp151.1.1.x86_64
And after restarting plasmashell
killall plasmashell ; sleep 3; plasmashell &
Don't use killall, use kquitapp5.
I cannot activate network connections that require a password.
Normally a PW dialog for unlocking kwallet appears, but not after a restart.
The secrets are provided by kded5, not plasmashell. So check whether kded5 is running. To restart, run kquitapp5 kded5; kded5 &
With journalctl I find this:
--- snip --- Aug 28 12:37:21 box NetworkManager[28889]: <info> [1566988641.8457] device (wlan1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Aug 28 12:37:21 box NetworkManager[28889]: <info> [1566988641.8467] device (wlan1): Activation: (wifi) access point 'WLANSSID' has security, but secrets are required. Aug 28 12:37:21 box NetworkManager[28889]: <info> [1566988641.8467] device (wlan1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed') Aug 28 12:37:21 box NetworkManager[28889]: <warn> [1566988641.8500] device (wlan1): No agents were available for this request. Aug 28 12:37:21 box NetworkManager[28889]: <info> [1566988641.8501] device (wlan1): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed') Aug 28 12:37:21 box NetworkManager[28889]: <warn> [1566988641.8511] device (wlan1): Activation: failed for connection 'WLANSSID' --- snap ---
I had a look at https://build.opensuse.org/project/show/home:Vogtinator:boo1108570, but currently it doesn't seem to build.
The patch in there is part of Leap 15.1 already. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c9
--- Comment #9 from Till Dörges
And after restarting plasmashell
killall plasmashell ; sleep 3; plasmashell &
Don't use killall, use kquitapp5.
That does the trick. If I restart plasmashell with kquitapp5 instead of killall, the NM applet asks for a password to access kwallet. Thanks!
So check whether kded5 is running. To restart, run kquitapp5 kded5; kded5 &
And restarting kded5 with kquitapp5 also works. Thanks again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c10
Alexander Krupp
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570
http://bugzilla.opensuse.org/show_bug.cgi?id=1108570#c11
--- Comment #11 from Alexander Krupp
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com