[Bug 234253] [NEW] kdm init script dies after editing system locale

Martin von Gagern martin.vgagern at gmx.net
Fri May 23 09:09:28 UTC 2008

Public bug reported:

Binary package hint: kdm

My /etc/default/locale reads like this:


With this setup, the kdm init script /etc/init.d/kdm from kdm
4:3.5.9-0ubuntu7.2 fails due to a malformed sed expression in this line:

$USESYSTEMLOCALE && sed -i "s|^#\?Language=.*|Language=`grep -re "LANG="
/etc/default/locale | awk 'BEGIN { FS = "[\\"|.]" } { print $2 }'`|"

One possible solution is to grep for ^LANG instead of only LANG. Another
would be to source /etc/default/locale and print $LANG afterwards.

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

kdm init script dies after editing system locale
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kdebase in ubuntu.

More information about the kubuntu-bugs mailing list