nixpkgs/pkgs/desktops
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
..
cdesktopenv cdesktopenv: 2019-11-30 -> 2.3.2 2020-02-15 15:24:24 +01:00
cinnamon Merge pull request #78445 from mkg20001/pkg/cinnamon-session 2020-03-31 14:36:43 -04:00
deepin deepin.deepin-terminal: fix build 2020-04-03 19:29:06 -04:00
enlightenment treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH 2020-01-15 09:47:03 +01:00
gnome-2 libgnomeprint: build with bison3 2020-01-13 21:35:19 +00:00
gnome-3 gnome3.gnome-boxes: fix build 2020-04-05 01:12:39 +02:00
gnustep gnustep/base: replace libbfd with binutils-unwrapped 2020-02-03 18:42:42 +01:00
lumina lumina.lumina-pdf: init at 2019-04-27 2019-05-24 18:14:46 -03:00
lxde/core tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
lxqt lxqt.screengrab: 1.101 -> 2.0.0 2020-01-22 18:16:56 -03:00
mate mate.mate-common: 1.24.0 -> 1.24.1 2020-04-02 16:35:51 +00:00
maxx gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
pantheon Merge staging-next into staging 2020-03-28 21:15:15 +01:00
plasma-5 kwallet-pam: unset QT_PLUGIN_PATH 2020-04-09 10:48:14 -04:00
rox/rox-filer treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
surf-display nixos/sessionPackages: provide session names in passthru 2019-12-15 04:16:18 +01:00
xfce Merge branch 'master' into staging-next 2020-03-31 21:32:15 +02:00