GST

users-admin cannot add groups in hardy beta

Bug #205144 reported by over 5000
36
Affects Status Importance Assigned to Milestone
GST
Fix Released
High
gnome-system-tools (Debian)
Fix Released
Unknown
gnome-system-tools (Ubuntu)
Fix Released
Medium
James Westby
Nominated for Hardy by old_toby

Bug Description

Binary package hint: gnome-system-tools

I cannot add a group using "Users and Groups" from the system tools menu.

Steps to reproduce:

- Start "Users and Groups" from the menu.
- Unlock with the PolicyKit button
- Click Manage Groups
- Click Add Group
- Enter any group name. It does not matter if you select group members to be added to the new group from the list box.
- Click OK

Expected:
The group is added to the group list in the parent window.

Actual result:
An empty entry is appended to the list box.
- Clicking to see the details opens the previous window but with no group name in the input box.
- Clicking Delete asks if you are sure to delete group »(null)«.

Additionally, now the whole thing locked up. It does not close or react to button clicks.
The whole gtk seems frozen; the window title bar reacts as normally. Just closing does not work.

Update : Might be related to bug 195680

Revision history for this message
over 5000 (over5000-deactivatedaccount) wrote :
Revision history for this message
over 5000 (over5000-deactivatedaccount) wrote :

The screenshot shows the status after trying to reproduce twice in a row. So there is two empty entries appended to the group list.

Revision history for this message
Lars Ljung (larslj) wrote :

I can confirm this. It doesn't lock up for me, but otherwise it's behaving exactly the same.

Changed in gnome-system-tools:
status: New → Confirmed
Revision history for this message
Ben Webb (bjwebb67-googlemail) wrote :

I can also confirm this problem in hardy beta. I can also not add users. The users appear to be added
but are not, they are not created and are not there the next time the app is opened. The following output appears on the command line:

(users-admin:6400): Liboobs-CRITICAL **: create_dbus_struct_from_user: assertion `(login && password && homedir && shell)' failed

(users-admin:6400): Liboobs-CRITICAL **: Not committing due to inconsistencies in the configuration, this reflects a bug in the application

Revision history for this message
Maulwurf (w-launchpad-raimund-hofmann-de-deactivatedaccount) wrote :

there is a similar bug with existing users:
I can not add an existing user to further groups

- First, I can not unlock the settings as normal user. It just gives me "unexpected error".

- starting sudo users-admin gives the same grayed out list.

see screenshot. (this is a sudoed window)

Revision history for this message
David Nichols (dwnichols) wrote :

April 5, 10:31 EDT Just ran Synaptic and upgraded all packages (running kernel 2.6.24-15 if this helps.) Seeing same problem described above, but an empty group is not being added. Nothing is being added. Looked at the group file (sudo gedit /etc/group) and there are no blank entries. I am not seeing the lock-up problem

When I try to add the first group, (web) the default group number comes up as 1001. If I try to add a second group (dev-web), the default group number comes up as 1002. If I exit the Users and Groups app, restart it, unlock the admin functions, and try to add a group again, the default group number is reset to 1001.

Hope this helps

Revision history for this message
datakid (datakid) wrote :

I can confirm. Freshly updated and restarted just now. Same issue.

Changed in gnome-system-tools:
importance: Undecided → High
milestone: none → ubuntu-8.04
importance: High → Medium
Revision history for this message
old_toby (simon-hornweb) wrote :

Here too, empty groups are added. What is even more interesting: When you add a group, it proposes you GID 1001. When you then click ok and check the properties of the new non-named group, it has GID 1002. When you add another group, it tries to give GID 1002 and ends up with 1003 and so on.

But it doesn't freeze, I can just close users-admin and when I start it again I can play the same game from square 1.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Ditto. I can't add groups using users-admin, although the application doesn't crash - it just won't add any groups

Revision history for this message
over 5000 (over5000-deactivatedaccount) wrote :

Please note that it crashed on me only once, and after a lot of trying around with adding (empty) groups and deleting them again and so on...

Maybe someone can reproduce it, though... just give it a try!

Revision history for this message
old_toby (simon-hornweb) wrote :

For me it's pretty easy to make it crash:

1. open it
2. unlock
3. "manage groups"
4. add a group (which will be an noname-one)
5. quit "manage groups"
6. "add user"

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

old_toby: Confirmed using your steps (thanks)

It leaves a crash dump in /var/crash, which I'll use to open another bug report once I've upgraded my system. It would be worth you doing the same

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

In fact, I can't delete users or groups using users-admin either. Not sure if I can add users though. In it's current state, it's completely non-functional

Revision history for this message
Saivann Carignan (oxmosys) wrote :

The crash described by old_toby is bug 207804. Thanks for these easy steps to reproduce the bug, I forwarded them to this bug report.

Changed in gnome-system-tools:
importance: Medium → High
importance: High → Medium
description: updated
Revision history for this message
old_toby (simon-hornweb) wrote :

Chris: I can add and remove users without problems. What do you mean it would be worth me doing the same thing? Adding a duplicate? Or is it possible to add a .crash report to an existing bug?

Changed in gnome-system-tools:
assignee: nobody → ubuntu-desktop
assignee: ubuntu-desktop → nobody
Revision history for this message
Joe Childrose (joseph-childrose) wrote :

I can confirm this problem on hardy daily-live 20080417 (clean installation).

Revision history for this message
James Westby (james-w) wrote :

I can see what's wrong here, but I need to learn something
about g_object before I can fix it.

Thanks,

James

Changed in gnome-system-tools:
assignee: nobody → james-w
status: Confirmed → In Progress
Revision history for this message
James Westby (james-w) wrote :

Hi,

Attached is a debdiff that allows me to add a group. I also
checked that I could add users to the group, change it's
gid, and delete the group.

Thanks,

James

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I confirm that the James Westby patch fixed all issues with adding/modifying users/groups.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Sébastien: can you please take a look at it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

new revision uploaded

Changed in gnome-system-tools:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-system-tools - 2.22.0-0ubuntu9

---------------
gnome-system-tools (2.22.0-0ubuntu9) hardy; urgency=low

  * Make it possible to create a group by using the tool by not
    ignoring the group name that was chosen. (LP: #205144)
    This is debian/patches/85_users_fix_add_group.dpatch.

 -- James Westby <email address hidden> Sun, 20 Apr 2008 13:06:09 +0100

Changed in gnome-system-tools:
status: Fix Committed → Fix Released
Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thank you very much!

Revision history for this message
cafilubu (cafilubuma) wrote :

Right now I'am using Ubuntu Hardy 8.04 RC fully updated (21/04/2008) and the gnome-system-tools (2.22.0-0ubuntu8) with this bug, is that gnome-system-tools (2.22.0-0ubuntu9) be released in the final 8.04, in synaptic latest is 2.22.0-0ubuntu8, cant wait for the fix, thanks.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

cafilubu : When a bug is set to "fix released" you can assume that a update exist in ubuntu repositories, but you can wait some hours before it appears in synaptic. Also when a package is updated before the final release, the updated version finally get on the final release ISO.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Patience! It's been built according to https://launchpad.net/ubuntu/hardy/+builds?build_text=gnome-system-tools&build_state=all. Just waiting for it to be uploaded ;)

Revision history for this message
Andrew Somerville (andy-somerville) wrote :

I am running 8.04 with all of the latest updates (2008-June-14) and I am still having issues trying to add a user. The widget seems to add the user and then if I close and reopen the user is gone. message from terminal when attempting to add user is similar to older comment:

(users-admin:7793): Liboobs-CRITICAL **: create_dbus_struct_from_user: assertion `(login && password && homedir && shell)' failed

(users-admin:7793): Liboobs-CRITICAL **: Not committing due to inconsistencies in the configuration, this reflects a bug in the application

Revision history for this message
James Westby (james-w) wrote :

Hi Andy,

Your problem looks a lot like bug 212317.

Thanks,

James

Changed in gst:
status: Unknown → New
Changed in gnome-system-tools:
status: Unknown → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

Unsubscribing ubuntu-main-sponsors as there does not appear to be anything needing sponsoring right now.

Changed in gst:
importance: Unknown → High
status: New → Fix Released
Changed in gnome-system-tools (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.