Bug 152626

Summary: /usr/lib/kde4/libexec/ not added to $PATH upon installation
Product: [Frameworks and Libraries] kdelibs Reporter: Ben Kevan <Ben.Kevan>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ben Kevan 2007-11-21 00:29:28 UTC
Version:           3.96.00 (using KDE KDE 3.96.0)
Installed from:    SuSE RPMs
OS:                Linux

/usr/lib/kde4/libexec should be added to $PATH upon installation 

For example I cannot run kdesu unless I put in the full path or manually add /usr/lib/kde4/libexec to $PATH variable. 

bkevan@ben-susetest:~> echo $PATH
/home/bkevan/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin

This is a KDE 4 ONLY machine on openSUSE 10.3. It worked with Beta 2 and I believe I noticed it was gone after upgrading to Beta 4 and is in the same on RC1
Comment 1 Michael Pyne 2007-11-21 01:22:53 UTC
Please report this bug to your distribution's KDE packagers.

Changing the environment is a distribution-specific task which KDE does not try to cover.

You can do this yourself by editing the login script for your shell (i.e. ~/.bashrc).  Some distributions allow you to edit /etc/profile or similar to do so as well.

But this is not something we can fix.
Comment 2 Oswald Buddenhagen 2007-11-21 10:23:00 UTC
errrmm .... while i agree with the resolution, the reason is bogus.
libexec must *not* be put into the path. the *whole point* of having it is not having those execs in the path.
the "kdesu situation" specifically is another matter - see the kde-core-devel list for a currently going discussion.