Bug 152077

Summary: kdesu does not work.
Product: [openSUSE] SUSE Linux 10.1 Reporter: William GENG <william.gen>
Component: KDEAssignee: Stephan Binner <stbinner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: emmetw, suse-beta
Version: Beta 4   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: kdesu_log
kdelibs3 patch

Description William GENG 2006-02-19 09:58:46 UTC
When enter 'kdesu foo' in X console,no result displayed,I HAVE TO press ctrl-c to quit.
Though,running YAST from KDE menu,changing date and time form within KDE,etc. can not yet be finished.
Comment 1 Stephan Kulow 2006-02-19 10:20:23 UTC
works fine here. Are you saying it worked fine with beta3 for you? 

I guess, this very much depends on your pam config. 

Does ssh root@localhost work ? 
Do you have anything in your /var/log/messages ?
Do you have anything in $HOME/.xsession-errors

Please answer all 4 questions! :)
Comment 2 William GENG 2006-02-19 11:48:33 UTC
1.su works normally!
2.ssh root@localhost work fine!
3-4.no,haven't anything
Comment 3 Christian Boltz 2006-02-19 22:19:53 UTC
Willam, it seems you forgot to reset the bug to ASSIGNED...
Comment 4 Dirk Mueller 2006-02-20 11:24:26 UTC
hmm, it could either be fontconfig not working as root (did you already enter the root password when that happened?) or some hostname lookup problem. 

strace -f -o kdesu_log kdesu foo 

and then please look into kdesu_log what it says when it "hangs". Thanks. 
Comment 5 Xin Wei Hu 2006-03-17 08:34:44 UTC
Well, it's a locale related bug indeed.
kdesu was waiting for the string of "Password:", but in the locale other than English, it got "口令" for example.
So that kdesu waited and waited for ever... :)

let LC_ALL=C can fix this issue.

kdesu_log is attached. FYI
Comment 6 Xin Wei Hu 2006-03-17 08:36:01 UTC
Created attachment 73650 [details]
kdesu_log

I'm kdesu, and I'm logged.
Comment 7 Lubos Lunak 2006-03-28 07:26:38 UTC
*** Bug 146944 has been marked as a duplicate of this bug. ***
Comment 8 Lubos Lunak 2006-03-28 07:28:30 UTC
Only zh_CN locale seems to be affected, it translates "Password:" to something that doesn't contain colon and that's what kdesu expects.
Comment 9 Lubos Lunak 2006-03-28 07:29:07 UTC
Created attachment 75244 [details]
kdelibs3 patch

This patch should fix it.
Comment 10 Stephan Binner 2006-03-28 08:53:28 UTC
Added patch to kdelibs3 package.