RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 849559 - iotop fails to start with wrong locale
Summary: iotop fails to start with wrong locale
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iotop
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-20 08:08 UTC by Gianluca Varisco
Modified: 2015-05-27 12:47 UTC (History)
6 users (show)

Fixed In Version: iotop-0.3.2-7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-21 23:49:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 593846 0 None None None 2012-08-20 08:08:02 UTC
Red Hat Product Errata RHBA-2013:1719 0 normal SHIPPED_LIVE iotop bug fix update 2013-11-20 21:51:38 UTC

Description Gianluca Varisco 2012-08-20 08:08:02 UTC
Description of problem:

iotop fails to start with wrong locale

Version-Release number of selected component (if applicable):

iotop-0.3.2-3.el6.noarch

How reproducible:

[root@alice01 ~]# iotop
Traceback (most recent call last):
  File "/usr/bin/iotop", line 16, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 491, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib64/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

  
Actual results:

locale.Error: unsupported locale setting

Expected results:

I would expect a warning and that the program continues as usual as the
output of iotop is no wordy text.

Additional info:

Patch from upstream: http://repo.or.cz/w/iotop.git/commitdiff/12fe7daf5ffa5f569b15284e411fb518d704a765

Comment 1 Michal Hlavinka 2012-08-20 08:19:14 UTC
reproducible
complete reproducer:
export LC_ALL=te_ST.utf-8
iotop

Comment 2 RHEL Program Management 2012-09-07 05:10:04 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 Gianluca Varisco 2013-05-08 21:05:56 UTC
No fix, then? (:

Shall we run:

LC_ALL=C iotop 

to 'fix' it?

Comment 9 errata-xmlrpc 2013-11-21 23:49:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1719.html


Note You need to log in before you can comment on or make changes to this bug.