Red Hat Bugzilla – Bug 178323
kdelibs: /etc/profile.d/kde.(csh|sh) additions
Last modified: 2007-11-30 17:11:21 EST
Per http://kde.ground.cz/tiki-index.php?page=Environment+Variables, items to
KDE_IS_PRELINKED (for sure!)
optional, but disabled by default items:
Created attachment 123438 [details]
Created attachment 123439 [details]
i have already added some usefull KDE envoremnts for FC in /etc/kde/env/env.sh
(kdebase). Thanks for your report.
*** Bug 178616 has been marked as a duplicate of this bug. ***
IMO, it would be better to put this in /etc/profile.d, else KDE apps launched
from outside of KDE environment (from Gnome, for example) won't benefit.
i forgot the user trying to start outside of KDE environment ;-)
sure, it should go into kdelibs. Thanks
The resolution of this bug, in kdelibs-3.5.3-0.2 (on FC-5 at least), has
broken /etc/zprofile (for zsh users).
It seems that the syntax used in /etc/profile.d/kde.sh is not understandable
by the ZÂ shell. My login shell is /bin/zsh, and each launched login shell
/etc/profile.d/kde.sh:4: = not found
Here is the patch:
--- /tmp/kde.sh 2006-06-20 11:57:00.000000000 +0200
+++ /tmp/kde.sh4454S5r 2006-06-20 11:57:00.000000000 +0200
@@ -1,7 +1,7 @@
# When/if using prelinking, avoids (some) use of kdeinit
if [ -f /etc/sysconfig/prelink ] ; then
- if [ "$PRELINKING" == yes ] ; then
+ if [ "$PRELINKING" = yes ] ; then
[ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export
Somebody suffers from an overdose of C++. ;-)
What is more, /etc/profile.d/kde.sh is not a config file. rpm --verify
complains if I modify it. I think this should be fixed (but it should be
another bug report).
> What is more, /etc/profile.d/kde.sh is not a config file. rpm --verify
> complains if I modify it. I think this should be fixed (but it should be
> another bug report).
IMO, it *should* be marked %config, else local modifications will get lost
when/if kdelibs gets upgraded. You wouldn't want that, would you?
Personally, I also think the the source'ing of /etc/sysconfig/prelink is
dubious, because it polutes the users' environment space.
(In reply to comment #8)
> > What is more, /etc/profile.d/kde.sh is not a config file. rpm --verify
> > complains if I modify it. I think this should be fixed (but it should be
> > another bug report).
> IMO, it *should* be marked %config, else local modifications will get lost
> when/if kdelibs gets upgraded. You wouldn't want that, would you?
I fully agree. I eventually have filled bug #196013, to address this issue. It
will avoid the polution of the current bug.
it's now fixed in kdelibs-3.5.3-5. Thanks for your
Will kdelibs-3.5.3-5 be pushed in FC-4 and FC-5?
I have checked in CVS repository, and it seems that the bug is not corrected
in FC-4 and FC-5 branches.