Bug 147002 - kde/env does not define LD_PRELOAD
Summary: kde/env does not define LD_PRELOAD
Status: RESOLVED FIXED
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 16:00 UTC by Olivier Vitrat
Modified: 2007-06-21 14:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-06-20 16:00:14 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425741

KDE uses to execute scripts ~/.kde/env/*.sh to setup environment variables, as it says in starkde(1) man page:

[quote]
startkde and ksmserver use the contents of the ~/.kde directory for starting previously saved sessions. Source scripts found in ~/.kde/env/*.sh can be used to define environment variables that will be available to all KDE programs.
[end quote]

I have one of such scripts in .kde/env which sets four environment variables, opne of them being LD_PRELOAD. When I query the environment in KDE (i.e. in a Konsole) I see the other three environment variables correctly set but no trace of LD_PRELOAD at all.

I can not set LD_PRELOAD in .bashrc or any similar because I need it set in KDE itself and in all the apps I start from the menu.
Comment 1 Lubos Lunak 2007-06-21 14:17:16 UTC
Already fixed. Remove suid from $KDEDIR/bin/start_kdeinit as a workaround.