nixpkgs/pkgs/desktops/plasma-5
Matthew Bauer f0db4de598 kwallet-pam: unset QT_PLUGIN_PATH
kwallet sets a limit of 1000 for a single characters for environment
variables read from the socket[1]. wrapQtApps gives us a huge value
for QT_PLUGIN_PATH (up to 13000 bytes on my system!) Since this was
overflowing, the Qt plugin loading mechanism was hitting a segfault
when it was trying to parse the truncated QT_PLUGIN_PATH.

So for now, we can just unset QT_PLUGIN_PATH in the pam_kwallet_init
script. kwalletd5 has its own QT_PLUGIN_PATH which it can use.

This problem occured on 20.03, but not 19.09. It’s unclear what
changes were made in that time, but likely that previously we weren’t
getting a QT_PLUGIN_PATH set in the plasma5 startup at all. This means
that in 19.09 our QT_PLUGIN_PATH value must have been small enough to
fit into the 1000 char limit.

Fixes #77290

[1]: bc9713e272/src/runtime/kwalletd/main.cpp (L44)

/cc @ttuegel
2020-04-09 10:48:14 -04:00
..
breeze-plymouth breeze-plymouth: make some things native 2020-03-06 00:45:48 -05:00
kde-gtk-config
kwin krohnkite: 0.6.1 -> 0.7 2020-03-04 06:16:05 +00:00
libkscreen libkscreen: Broken with Qt < 5.12.0 2019-09-29 12:56:29 -05:00
libksysguard ksysguard: replace qtwebkit by qtwebengine 2019-08-16 11:26:17 +02:00
plasma-desktop treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
plasma-integration
plasma-nm
plasma-vault
plasma-workspace plasma5.plasma-workspace: Fix path to SDDM theme background image 2020-02-05 20:08:40 -06:00
bluedevil.nix
breeze-grub.nix
breeze-gtk.nix
breeze-qt5.nix
default.nix plasma5: Fix setup hook some more 2019-11-24 15:58:51 -05:00
discover.nix
fetch.sh plasma5: 5.16.5 -> 5.17.5 2020-01-27 08:29:28 -06:00
kactivitymanagerd.nix
kde-cli-tools.nix
kdecoration.nix treewide: mark some broken packages as broken 2019-10-08 17:14:26 +02:00
kdeplasma-addons.nix
kgamma5.nix
khotkeys.nix
kinfocenter.nix
kmenuedit.nix
kscreen-417316.patch kscreen: Fix #82141 2020-04-03 18:04:25 +02:00
kscreen.nix kscreen: Fix #82141 2020-04-03 18:04:25 +02:00
kscreenlocker.nix
ksshaskpass.nix
ksysguard.nix ksysguard: replace qtwebkit by qtwebengine 2019-08-16 11:26:17 +02:00
kwallet-pam.nix kwallet-pam: unset QT_PLUGIN_PATH 2020-04-09 10:48:14 -04:00
kwayland-integration.nix kwayland-integration: kguiaddons buildInput 2020-02-01 06:55:49 -06:00
kwrited.nix
milou.nix milou: kitemmodels buildInput 2020-01-31 19:47:55 -06:00
oxygen.nix
plasma-browser-integration.nix plasma-browser-integration: kpurpose kfilemetadata buildInputs 2020-02-01 06:58:29 -06:00
plasma-pa.nix
plasma-workspace-wallpapers.nix
polkit-kde-agent.nix
powerdevil.nix
sddm-kcm.nix
srcs.nix plasma5: 5.16.5 -> 5.17.5 2020-01-27 08:29:28 -06:00
systemsettings.nix
user-manager.nix
xdg-desktop-portal-kde.nix