[Pkg-kde-extras] Bug#742117: kdesudo: dpkg-reconfigure kdesudo doesn't work on non-english locales

Bruno Zanetti bzanetti00 at gmail.com
Wed Mar 19 10:58:11 UTC 2014


Package: kdesudo
Version: 3.4.2.4-2
Severity: normal

Dear Maintainer,
if you try to restore the default kdesu behaviour (that is ask for root
password not the sudoer password) by running the command dpkg-reconfigure
kdesudo and aswering "No", then nothing happens unless your current locale is
english (or "C").
The workaround I found is to prepend LC_ALL="C" to the command 'dpkg-
reconfigure kdesudo'
In fact, the kdesudo.postinst dpkg script greps for the "by kdesu" string which
is output by dpkg-divert *only* in english locales.
To reproduce the issue on a debian(wheezy)/kde(4.8.4) system (you must also
have kdesudo installed of course):
1) install a non english locale by running 'dpkg-reconfigure locales',
selecting for example 'it_IT.UTF8', and set it as default locale
2) logout and login
3) execute 'dpkg-reconfigure kdesudo' in konsole and *change* your selection to
'No' (you may have to select the other way before so that it changes)
4) No any dpkg-divert message is output, while in english locale you would get:
Removing 'diversion of /usr/lib/kde4/libexec/kdesu to
/usr/lib/kde4/libexec/kdesu.kde by kdesudo'
Removing 'diversion of /usr/share/man/man1/kdesu.1.gz to
/usr/share/man/man1/kdesu.kde.1.gz by kdesudo'
No effect, either, so you're stuck to kdesudo mode.

Best regards


-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kdesudo depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  kde-runtime            4:4.8.4-2
ii  libc6                  2.13-38+deb7u1
ii  libgcc1                1:4.7.2-5
ii  libkdecore5            4:4.8.4-4
ii  libkdeui5              4:4.8.4-4
ii  libqt4-dbus            4:4.8.2+dfsg-11
ii  libqt4-svg             4:4.8.2+dfsg-11
ii  libqtcore4             4:4.8.2+dfsg-11
ii  libqtgui4              4:4.8.2+dfsg-11
ii  libstdc++6             4.7.2-5
ii  sudo                   1.8.5p2-1+nmu1

kdesudo recommends no packages.

kdesudo suggests no packages.



More information about the pkg-kde-extras mailing list