qdbus check is wrong in startkde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde-workspace (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In the beginning of /usr/bin/startkde there is a check to assure that qdbus can be called.
A variable is set like this:
qdbus=QT_SELECT=qt4 qdbus
and later there is the real check:
if $qdbus >/dev/null 2>/dev/null; then
: # ok
else
unfortunately this is completely wrong, the variable assignment would call qdbus directly with a wrong "qdbus=
because the first unquoted space after a variable assignment separated the environment from the command line to start
as explained in the BASH bible: http://
GIT_DIR=
Indeed, if I make qdbus non executable (or if I remove it) like `chmod 000 /usr/bin/qdbus` startkde would not complain as it should do.
This because the check `if $qdbus >/dev/null 2>/dev/null; then` is always true as "$qdbus" evaluates to "qdbus=
This bug was introduced when trying to fix https:/
fixed by 4:4.11.8-0ubuntu6, currently building the proposed pocket.