[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
*** This bug is a duplicate of bug 124993 *** https://bugs.launchpad.net/bugs/124993 ** This bug has been marked a duplicate of bug 124993 Gconf tweak to show all users / groups on system in Users and Groups tool has no effect -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
Looks like a sensible move to me. bug #124993 publishes a fix that works in Hardy. -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
I am considering marking this bug as a duplicate of bug 124993. The solution for this mess is to set the (rather undocumented) gconf key /apps/gnome-system-tools/users/showall, and magically all users and all groups appear. Comments, anyone, before I do so? -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
confirming. Current hardy shows group 0, and then 100+ ** Changed in: gnome-system-tools (Ubuntu) Status: New => Confirmed -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
I think "Users and Groups" is supposed to not show system users and groups to not confuse users (the GNOME spirit !). So I suppose that under Debian/Ubuntu, it should rather only show GID >= 1000. Basic system groups seems to be "exposed" via the privilege tabs, hence maybe a fix to bug #133862 would be to add a "Raw access to disk" privilege linked to the disk group. -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
/etc/login.defs is correct. It just isn't meant to be used for this purpose. -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
Changed from 'shadow' package to 'system-tools-backends' since issue is in GroupsConfig.pm::get() ** Changed in: system-tools-backends (Ubuntu) Sourcepackagename: shadow => system-tools-backends -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
Another realisation: It appears that tools->showall is being ignored in the filter if the gconf key value /apps/gnome-system-tools/users/showall is being assigned to tool->showall correctly: gnome-system-tools-2.20.0/src/users/groups- table.c::groups_model_filter(): return (tool->showall || (gid == 0 || (gid >= tool->minimum_gid && gid <= tool->maximum_gid) ) ) If it is set the filter ought to return 'true' regardless of minimum_gid when /apps/gnome-system-tools/users/showall is true. -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 141067] Re: Group GIDs 1-99 not shown in Groups Settings dialog
It always helps to step back and the revisit a problem, especially when it involves PERL :) I mention in my previous comment: liboobs-2.20.0/oobs/oobs-groupsconfig.c::oobs_groups_config_update() dbus_message_iter_next (&iter); dbus_message_iter_get_basic (&iter, &priv->minimum_gid); The value comes from the Dbus GroupsConfig structure Integer32 'Minimum GID' element (see http://system-tools-backends.freedesktop.org/dbus- spec.html). Rereading that made me realise I'd not actually looked at where Dbus got the values because I got sidetracked chasing another lead at that time. system-tools-backends-2.4.0/Groups.pm::get() hands the GroupsConfig structure to Dbus and liboobs. Groups.pm::get() does: return ($groups, $$logindefs{"gmin"}, $$logindefs{"gmax"}); $logindefs is defined in system-tools-backends-2.4.0/Users/Users.pm, and for a debian distro reads defaults from: @login_defs_names = ( "/etc/login.defs", "/etc/adduser.conf" ); /etc/login.defs contains the entries: # Min/max values for automatic gid selection in groupadd # GID_MIN 100 GID_MAX 6 so, GID_MIN is the reason that "Group settings" table of Users and Groups doesn't display GIDs 1-99. ** Also affects: shadow (Ubuntu) Importance: Undecided Status: New -- Group GIDs 1-99 not shown in Groups Settings dialog https://bugs.launchpad.net/bugs/141067 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs