Description of problem: If system locale is not UTF-8 (for example LANG=ko_KR.euckr), authconfig force print stdout or stderr message with UTF-8. So on no utf8 locale system, authconfig message is broken. Version-Release number of selected component (if applicable): authconfig 5.3.12-2.el5 How reproducible: changed system locale from UTF-8 to no UTF-8 (example: ko_KR.UTF-8 -> ko_KR.euckr) Steps to Reproduce: 1. echo $LANG ( result ko_KR.UTF-8 ) 2. run LANG="ko_KR.euckr" authconfig --help | iconv -f ECU-KR -t UTF-8 3. failed iconv (UTF-8 to UTF-8) Actual results: print broken message. only print UTF-8 message. Expected results: print message with no UTF-8 charset Additional info: attached patch that fixed this problem.
Created attachment 303614 [details] patch that fixed this problem
The authconfig package which is in queue for RHEL-5.2 should already fix this. Please try authconfig-5.3.21-3.el5 when it is released as part of RHEL-5.2 and report here if it fixed the problem. Thanks.
I checked on 5.2 and previous problems is fixed. Thanks.