Pre-provision KWallet with a wallet for the live session user to avoid double wifi dialog issue
Closed, ResolvedPublic

Description

Kubuntu's live session suffers from https://bugs.kde.org/show_bug.cgi?id=387502, which is caused by not having a completely configured and provisioned KWallet.

Resolving the bug requires two things:

  • Include the libpam-kwallet5 package
  • Pre-provision KWallet with a wallet for the live session user, and that wallet's password needs to be the same as the live session user's password (or both can be passwordless, I suppose)

The live session already includes the libpam-kwallet5 package. Only the wallet part needs to be done now. Once that's complete, a major papercut in the live session will be resolved!

ngraham created this task.Feb 15 2018, 10:38 PM

I just tried today's daily ISO and this is still a problem in the live session: after you enter the wifi password in the network manager widget, a dialog box immediately pops up asking you for it again.

So either the underlying issue is not fixed, or the live session doesn't have the fix, or else we still need to do the procedure I outlined above.

Pre-provisioning would involve casper I think. In the way that it changes defaults in a few other ways for our live session. e.g. screenlocker timeout and installer icon

Ummmm.

casper (1.354) vivid; urgency=medium

  • Update 34disable_kde_services to really disable kf5 kwallet and baloo
    • LP: #1430426
    • LP: #1431587
  • Jonathan Riddell <jriddell@ubuntu.com> Wed, 18 Mar 2015 12:34:06 +0100

casper (1.353) vivid; urgency=medium

  • Update 34disable_kde_services to disable kf5 kwallet
  • Jonathan Riddell <jriddell@ubuntu.com> Tue, 17 Mar 2015 17:49:34 +0100

From https://bugs.launchpad.net/ubuntu/+source/kwallet-kf5/+bug/1430426

alternatively make kwallet so it doesn't need set up

So yeah, we should do that.

Capser does:

rm -f /root/usr/share/autostart/kab2kabc.desktop
rm -f /root/usr/share/autostart/kaddressbookmigrator.desktop
rm -f /root/usr/share/autostart/korgac.desktop
rm -f /root/usr/share/autostart/printer-applet.desktop
rm -f /root/usr/share/autostart/nepomukserver.desktop
rm -f /root/usr/share/kde4/services/kwalletd.desktop
rm -f /root/usr/share/kservices5/kwalletd5.desktop
rm -f /root/usr/share/dbus-1/services/org.kde.kwalletd5.service
rm -f /root/usr/share/dbus-1/services/org.kde.kwalletd.service
rm -f /root/usr/share/kde4/services/kded/kpackagekitd.desktop
if [ -z "${PERSISTENT}" ]; then
rm -f /root/usr/share/kde4/services/kded/freespacenotifier.desktop
fi
rm -f /root/usr/share/kde4/services/plasma-runner-contacts.desktop # starts akonadi
rm -f /root/usr/share/kde4/services/plasma-dataengine-calendar.desktop # starts akonadi

Network connected without double password prompt via Ubiquity and from the live boot panel icon (rebooted to test both). All secure networks were correctly marked as "secure".

darinmiller added a subscriber: darinmiller.

Fix verified:

I zsynced kubuntu-ci-stable-bionic-amd64.iso.zsync
I dd'd the ISO to a usb thumb drive
I booted the thumb drive
I saw the WEP network, selected it, and entered the key all in Network Manager from the tray.
I did NOT get the pop-up to re-enter the WEP password.

Fix verified:

Great. Would you mind commenting the same in the LP Bug, where I have a debdiff of the fix?

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1572244

Same to all testers :)

ngraham closed this task as Resolved.Mar 14 2018, 11:08 PM

Yup, the issue seems to be fixed now with that ISO!