Hide Forgot
Description of problem: Fail to run (locale.Error: unsupported locale setting) Version-Release number of selected component (if applicable): Filed from caserun (http://download.englab.bne.redhat.com/pub/rhel/rel-eng/RHEL-7.0-20131127.1/compose/Client/x86_64/os/) authconfig-6.2.8-1.el7.x86_64 How reproducible: Steps to Reproduce: 1. [root@localhost ~]# LANG=ja-JP.UTF-8 authconfig [root@localhost ~]# LANG=ja-JP.UTF-8 authconfig-tui Actual results: [root@localhost ~]# LANG=ja-JP.UTF-8 authconfig Traceback (most recent call last): File "/sbin/authconfig", line 31, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib64/python2.7/locale.py", line 547, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Expected results: No error Additional info:
Noriko, Can you give more details on why this one is closed notabug? My team saw similar on RHEL6 during ipa-server-install. So, is that expected behavior then? Possibly in my case triggered by something with how ipa-server-install was calling authconfig? We haven't seen the issue since 9/9 so it appears to have been resolved. I'm just wondering why this one was closed. Thanks, Scott FYI, the abrt report we saw related to this: abrt_version: 2.0.8 cmdline: /usr/bin/python /usr/sbin/authconfig --enablesssdauth --update --enablesssd executable: /usr/sbin/authconfig hostname: nocp13.testrelm.test kernel: 2.6.32-498.el6.x86_64 last_occurrence: 1409649062 time: Tue 02 Sep 2014 05:11:02 AM EDT uid: 0 username: root sosreport.tar.xz: Binary file, 976272 bytes backtrace: :locale.py:513:setlocale:Error: unsupported locale setting : :Traceback (most recent call last): : File "/usr/sbin/authconfig", line 33, in <module> : locale.setlocale(locale.LC_ALL, '') : File "/usr/lib64/python2.6/locale.py", line 513, in setlocale : return _setlocale(category, locale) :Error: unsupported locale setting : :Local variables in innermost frame: :locale: '' :category: 6
Hi Scott It was my bad... 'ja-JP' (dash used) was typo and 'ja_JP' (underscore used) worked fine. * This does not work as dash used. [root@localhost ~]# LANG=ja-JP.UTF-8 authconfig [root@localhost ~]# LANG=ja-JP.UTF-8 authconfig-tui * This works fine as underscore used. [root@localhost ~]# LANG=ja_JP.UTF-8 authconfig [root@localhost ~]# LANG=ja_JP.UTF-8 authconfig-tui
Noriko, Ah, ok. Thanks for the info.