Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 78376 - crash when changing the group name of an existing group
Summary: crash when changing the group name of an existing group
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libuser
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact:
: 121252 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-21 21:22 UTC by Brent Fox
Modified: 2007-03-27 03:58 UTC (History)
0 users

Fixed In Version: 0.51.10-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-09-02 22:20:08 UTC

Attachments (Terms of Use)

Description Brent Fox 2002-11-21 21:22:51 UTC
When trying to change the name of an existing group with a little Python script:


import libuser

a = libuser.admin()
groupEnt = a.lookupGroupByName('testgroup')
print groupEnt.get(libuser.GROUPNAME)[0]
groupEnt.set(libuser.GROUPNAME, "newname")
print groupEnt.get(libuser.GROUPNAME)[0]

I get the following error:

[root@bfox tmp]# ./
Traceback (most recent call last):
  File "./", line 10, in ?
RuntimeError: unknown error

I don't think that the error is in the Python script.  Any ideas what's
happening in libuser at this point?  The bug prevents being able to change a
group name with redhat-config-users.  This bug exists as far back as
7.3...perhaps further back but I haven't tested that.

Comment 1 Brent Fox 2003-01-16 21:09:25 UTC
nalin: ping?

Comment 2 Miloslav Trmač 2004-09-01 16:59:31 UTC
*** Bug 121252 has been marked as a duplicate of this bug. ***

Comment 3 Miloslav Trmač 2004-09-02 22:20:08 UTC
Should be fixed in libuser-0.51.10-1, when it hits rawhide.

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