Red Hat Bugzilla – Bug 427504
system-config-users errata breaks user creation
Last modified: 2013-04-12 15:29:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20071127 Firefox/188.8.131.52
Description of problem:
With the latest version of system-config-users (1.2.51-3.el5), trying to create a new user always fails with an exception. The previous version (1.2.51-1.el5) works as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run system-config-users
2. Click "Add User"
3. Fill the appropriate fields
4. Click OK
The "Create New User" dialog becomes unresponsive and the following can be seen on the console:
Traceback (most recent call last):
File "/usr/share/system-config-users/userWindow.py", line 354, in on_userWin_ok_button_clicked
groupEnt.set (libuser.GROUPNAME, groupName)
NameError: global name 'groupName' is not defined
The user should have been created.
This has been tested on two fully updated RHEL 5.1 machines (i386 and x86_64). On both cases, rolling back to the previous released version of system-config-users fixes the problem.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
By that you mean it will be fixed in RHEL 5.2 right? I have no problem with
that. I'm already "exclude="ing this package from the fasttrack channel, and the
version in the normal channel is enough for me. I just filed this report to make
sure it doesn't go unfixed forever. :)
This bugzilla was reviewed by QE as a non-FasTrack request.
It has since been proposed for FasTrack. The qa_ack has
been reset. QE needs to re-review this bugzilla for FasTrack.
Read ya, Phil
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
*** Bug 428301 has been marked as a duplicate of this bug. ***
Is it possible to look at source code of this update? It's not published.
Don't know why this hasn't been pushed to FTP yet (perhaps it will only be done
with a product update, i.e with RHEL 5.2) -- the only change between the
previous version and this one is replacing the offending line (the one mentioned
in the traceback) with this one:
groupEnt.set (libuser.GROUPNAME, userName)