{kubuntu} bashism in /usr/bin/startkde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Bug Description
SRU:
1. Because of this bug prelinking doesn't work properly in KDE, to enable this feature the attached patch is necessary.
2. The bug did not get addressed in the development branch at all, since the affected patch is not applied on the KDE 4 packages (which replace the affected package in Intrepid)
3 . Patch attached
4. TEST CASE:
* install patched package
* install prelink package
* ensure PRELINKING is set to yes in /etc/default/
* start KDE
* the command 'env | grep PRELINK' on a prompt should output
KDE_IS_PRELINKED=1
thus improving KDE's speed
5. There is no regression potential since currently this feature doesn't work at all, so it can't get any worse really ;-)
-------
Binary package hint: ksmserver
In ~/.xsession-errors one can see
[: 41: ==: unexpected operator
It turns out that it's a bashism in /usr/bin/startkde that causes it.
--- kubuntu_
+++ kubuntu_
@@ -9,7 +9,7 @@
+# loading KDE.
+if test -f /etc/default/
+ . /etc/default/
-+ if [ "$PRELINKING" == yes ]; then
++ if [ "$PRELINKING" = yes ]; then
+ export KDE_IS_PRELINKED=1
+ fi
+fi
Changed in kdebase: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in kdebase: | |
status: | Incomplete → New |
description: | updated |
No such line in KDE 4's startkde - closing as invalid.
Thank you for this report nonetheless