1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
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
libksysguard
plasma-desktop
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
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
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
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