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
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.
Created attachment 92890 [details] Simple python program to demonstrate libuser bug
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
What kind of problems can be wrong w/ the libuser library? What exactly is this bug doing?