Bug 78376 - crash when changing the group name of an existing group
crash when changing the group name of an existing group
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: libuser (Show other bugs)
8.0
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
:
: 121252 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-21 16:22 EST by Brent Fox
Modified: 2007-03-26 23:58 EDT (History)
0 users

See Also:
Fixed In Version: 0.51.10-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-02 18:20:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brent Fox 2002-11-21 16:22:51 EST
When trying to change the name of an existing group with a little Python script:


#!/usr/bin/python2.2

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]
a.modifyGroup(groupEnt)

I get the following error:

[root@bfox tmp]# ./modify.py
newname
testgroup
Traceback (most recent call last):
  File "./modify.py", line 10, in ?
    a.modifyGroup(groupEnt)
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 16:09:25 EST
nalin: ping?
Comment 2 Miloslav Trmač 2004-09-01 12:59:31 EDT
*** Bug 121252 has been marked as a duplicate of this bug. ***
Comment 3 Miloslav Trmač 2004-09-02 18:20:08 EDT
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.