Bug 845079

Summary: When system-config-users is called the application starts and disappears immediately
Product: Red Hat Enterprise Linux 5 Reporter: bouzzi <bouzzi>
Component: system-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: medium    
Version: 5.8CC: bsingh, jbastian, nphilipp
Target Milestone: rcKeywords: Patch, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-07 01:40:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 921048, 1002709    
Attachments:
Description Flags
utf8 patch for rhel5 s-c-users none

Description bouzzi 2012-08-01 17:07:51 UTC
Description of problem:
Here what in happening when system-config-users is called from gnome-terminal...

[root@server ~]# /usr/bin/system-config-users
Traceback (most recent call last):
  File "/usr/share/system-config-users/system-config-users.py", line 45, in ?
    mainWindow.mainWindow()
  File "/usr/share/system-config-users/mainWindow.py", line 266, in __init__
    self.refresh()
  File "/usr/share/system-config-users/mainWindow.py", line 427, in refresh
    self.populate_lists()
  File "/usr/share/system-config-users/mainWindow.py", line 518, in populate_lists
    self.populate_user_list()
  File "/usr/share/system-config-users/mainWindow.py", line 458, in populate_user_list
    gecos = unicode (gecos, 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3: invalid data
[root@server ~]#

How do I fix this?

Comment 1 Jeff Bastian 2012-08-09 21:23:47 UTC
This was reported and fixed with Fedora 10:
https://bugzilla.redhat.com/show_bug.cgi?id=235533

And the patch:
http://git.fedorahosted.org/cgit/system-config-users.git/commit/?id=dd674ae82931cd9f5b93e2fa550a4befa8da0184



Steps to reproduce the error:
1. useradd -c $(perl -e 'print "Test\xf6"') testutf8
2. system-config-user

Comment 2 Jeff Bastian 2012-08-09 21:27:37 UTC
Created attachment 603353 [details]
utf8 patch for rhel5 s-c-users

Comment 6 RHEL Program Management 2013-05-01 06:45:54 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 8 Andrius Benokraitis 2013-10-07 01:40:01 UTC
This Bugzilla has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed. If this bug is critical to production systems, please contact your Red Hat support representative and provide sufficient business justification.