Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 91503

Summary: Runtime Error forces me to Kill app
Product: [Retired] Red Hat Linux Reporter: Justin Churchey <sajchurchey>
Component: libuserAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: bfox
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-16 00:43:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Simple python program to demonstrate libuser bug none

Description Justin Churchey 2003-05-23 14:03:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030410

Description of problem:
When adding user to groups (apache and mysql), dialog goes grey as if
processing, but terminal returns the following message:

Traceback (most recent call last):
  File "/usr/share/redhat-config-users/userProperties.py", line 502, in
on_ok_button_clicked
    self.parent.ADMIN.modifyUser(self.userEnt)
RuntimeError: unknown error                                     

I also had to change the username b/c the program did not support underscores in
the username, which has been there since I installed HR initially as 7.3.


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

How reproducible:
Always

Steps to Reproduce:
1.I choose my user and click properties
2.Go to the groups tab and add the user to the two groups mentioned
3.Change the username
4.Click the Apply button
    

Actual Results:  Program freezes, terminal outputs the Runtime Error, and I am
forced to kill the program.

Expected Results:  Program adds users to the appropriate groups.

Additional info:

Using WindowMaker that came installed w/ RH 9.0, if that is of any importance. 
I had a similar problem that caused for the deletion of the user and the loss of
their preferrences. Had to recreate the user and attempt to restore link between
user and the preferrences using

chown -R

Comment 1 Brent Fox 2003-07-11 21:07:22 UTC
Actually, this looks like a bug in libuser.

Nalin, can you take a look at this?  I'm attaching a simple python progam that
demonstrates the problem on my test machine.  BTW, this problem still exists in
our most recent development tree.

Comment 2 Brent Fox 2003-07-11 21:08:49 UTC
Created attachment 92890 [details]
Simple python program to demonstrate libuser bug

Comment 3 Brent Fox 2003-07-11 21:11:03 UTC
When running that program on my machines, I get the following traceback:

Traceback (most recent call last):
  File "/tmp/change_username.py", line 15, in ?
    a.modifyUser(userEnt)
RuntimeError: unknown error


Comment 4 Justin Churchey 2003-07-12 01:35:43 UTC
What kind of problems can be wrong w/ the libuser library?  What exactly is this
bug doing?