Some users invisible/unusable

Bug #952909 reported by RoyK
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
accountsservice
Unknown
Unknown
accountsservice (Debian)
Fix Released
Unknown
accountsservice (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Sebastien Bacher

Bug Description

Impact:
On some architectures (powerpc, arm*), adding an user account empty the user list from the users panel and lightdm

Test Case:
On powerpc or arm*
- open the users panel
- add an account
- look at the users list in lightdm or in the user panel

before the fix only one user would be left listed

Regression potential:
users could be incorrectly added or listed

---

On Ubuntu 12.04 beta for ARM, OMAP4, on a pandaboard, creating a user from User Accounts (system settings) creates user and it looks ok, but only the latest user created is visible in login screen and in further work in User Accounts. I set the password using 'passwd user', and all three users exist, 'uadmin', created during installation, 'rsk' and 'tk', created later, but only 'tk' is visible. It all looks ok from looking a the files (unique UIDs, UIDs > 1000 etc). Group memberships also look right.

CVE References

RoyK (roysk)
summary: - New users invisible/unusable
+ Some users invisible/unusable
Revision history for this message
Oliver Grawert (ogra) wrote :

i just ran a debug session with seb128 on IRC, http://paste.ubuntu.com/880205 is the output from running:
sudo /usr/lib/accountsservice/accounts-daemon --replace --debug

and then reproducing the user creation in gui

Changed in ubuntu:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Oliver Grawert (ogra) wrote :

setting to confirmed and high .... confirmed on an ac100 armhf install here

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

I can't confirm on i386, the users are correctly added and correctly reflected in the different ui bits (user panel, indicator menu, lightdm), it seems somewhat armel specific but I've no access to armel hardware to debug and that's not the sort of issues which can be debugged on a porter box environment, it needs a fully working desktop with sudo rights

affects: Ubuntu Precise → accountsservice (Ubuntu Precise)
Revision history for this message
Sebastien Bacher (seb128) wrote :

ogra said lightdm and the user panel gets confused, they both get their users from the accountsservice over dbus so let's assume the bug is in this component

Revision history for this message
RoyK (roysk) wrote :

Would it help somehow if I could expose a pandaboard on the net from here for debugging?

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

Thanks for the offer, I will say "no" for now but maybe others are interested, it would be way easier to debug for somebody having some local access to a box with the bug than trying to debug desktop issues over ssh and I've already enough on my TODO, I might come back later to it if I run out of things to work on and nobody picked it up though

tags: added: armhf precise rls-mgr-p-tracking
Revision history for this message
Jack Wasey (jackwasey) wrote :

confirmed on precise powerpc

Revision history for this message
Jack Wasey (jackwasey) wrote :

For powerpc, this is fixed in debian with package 0.6.15-4. The problem was something to do with assuming a "long" was 64 bits.

Revision history for this message
Ivan Zakharyaschev (imz) wrote :

I had this problem with (1) the list if users on the login screen, and (2) the list of users in the "user accounts" subsection of the system settings after installing Ubuntu 12.04 on a Toshiba AC100 several days ago, as described at https://wiki.ubuntu.com/ARM/TEGRA/AC100 .

Then, thanks to Jack Wasey's comment, I tried to solve the problem by installing the package from Debian --
http://packages.debian.org/wheezy/accountsservice (see also the changelog: http://packages.debian.org/changelogs/pool/main/a/accountsservice/accountsservice_0.6.15-4/changelog ).

First, I checked that the currently installed package doesn't include the discussed fix. (Read "man dpkg" on how to get the information about the installed packages, and on how to install packages from files.) Then, tried to installed the Debian package by simply clicking on the download link in the browser -- the graphical package manager reported that it requires another version of libaccountsservice0. So, I downloaded both package files, and ran dpkg to install them.

After that, the login screen correctly lists all the users. Good! That's essentially all I wanted. Unfortunately, the "user accounts" subsection of system settings crashes. (But I can use the usual commands to change the password, add or delete users, etc.)

Now I think that the installation via "dpkg" might have left some broken dependencies unnoticed, so I'd better use "apt" to install the Debian versions of the package from the downloaded files; then I'd be sure that the dependencies were checked.

Revision history for this message
awol (awol99) wrote :

i've got this on PowerPC (g5 MacPro) and it's a big problem for me.

i can add to the description that in the xubuntu login screen there are a number of users listed corresponding to the number of users created BUT they all have the same real name (not username) as the last user created.

Ivan Zakharyaschev (imz)
no longer affects: accountsservice
Revision history for this message
Ivan Zakharyaschev (imz) wrote :
Changed in accountsservice (Ubuntu):
status: Confirmed → In Progress
Changed in accountsservice (Ubuntu Precise):
status: Confirmed → In Progress
Changed in accountsservice (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Sebastien Bacher (seb128)
Changed in accountsservice (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.2 KiB)

This bug was fixed in the package accountsservice - 0.6.21-6ubuntu1

---------------
accountsservice (0.6.21-6ubuntu1) quantal; urgency=low

  * Reviewed work in progress for the new version, fixed some issues in
    the GDbus port work.
  * Resync on Debian, remaining diffs:
  * debian/patches/0001-formats-locale-property.patch:
    - readded bit of the patch that seems to not be in the debian version
  * debian/patches/0002-create-and-manage-groups-like-on-a-ubuntu-system.patch:
    - updated to gdbus
  * debian/patches/0007-add-lightdm-support.patch:
    - used Ubuntu version, they are slightly different
  * debian/patches/0008-nopasswdlogin-group.patch:
    - used Ubuntu version, they are slightly different
  * debian/patches/0009-language-tools.patch:
    - used Ubuntu version, they are slightly different
  * debian/patches/0010-set-language.patch:
    - used Ubuntu version, they are slightly different
  * debian/patches/0011-add-background-file-support.patch:
    - updated for the gdbus codebase
  * debian/patches/0012-add-keyboard-layout-support.patch:
    - updated for the gdbus codebase
  * debian/patches/0013-add-has-message-support.patch:
    - updated for the gdbus codebase

  [ Robert Ancell ]
  * New upstream release (lp: #1003764):
    - include fix for users not listed on some architectures (lp: #952909)
  * debian/control:
    - Drop depends on libdbus-glib-1-dev
  * debian/watch:
    - Fix download file format
  * debian/patches/git-icon-reset.patch:
    - Applied upstream
  * Updated patch for the new version, especially porting them to gdbus

accountsservice (0.6.21-6) unstable; urgency=high

  * CVE-2012-2737: Add patch to prevent race condition with UID
    lookup (Closes: #679429):
    - src/u{ser,til}.c: Use bus daemon to query peer credentials.

accountsservice (0.6.21-5) unstable; urgency=medium

  * Add patch grabbed from upstream git to fix memory leaks in
    src/libaccountsservice/act-user.c. Set urgency to medium since the
    package has already migrated to testing.

accountsservice (0.6.21-4) unstable; urgency=low

  * Manage pending consolekit calls with GtkCancellable to fix SIGSEGV
    in libaccountsservice. (Closes: #673185)

accountsservice (0.6.21-3) unstable; urgency=low

  * Strip SystemdService out of org.freedesktop.Accounts.service
    service file. (Closes: #675925)

accountsservice (0.6.21-2) unstable; urgency=low

  * Disable systemd support:
    - Let accountsservice build on non-Linux (Closes: #674433)
    - Attempt to solve #673185

accountsservice (0.6.21-1) unstable; urgency=low

  * New upstream release.
  * Refresh patches.
  * Add libaccountsservice-dbg package.

accountsservice (0.6.18-3) unstable; urgency=low

  * Revert upstream commit 552a0c856a6e3a7c2e6450ab80e79f4204062281
    and then fix a regression introduced since 0.6.16:
    - Filter out users which have UIDs lower than UID_MIN specified
      in etc/login.defs instead of checking if they have
      /usr/sbin/nologin as login shell. (Closes: #673095)
    Thanks to Michael Biebl for the report.

accountsservice (0.6.18-2) unstable; urgency=low

  * Upload to unstable.

accountsservice (0.6.18-1) experimental; urgency=low

  * U...

Read more...

Changed in accountsservice (Ubuntu):
status: In Progress → Fix Released
Changed in accountsservice (Debian):
status: Unknown → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello RoyK, or anyone else affected,

Accepted accountsservice into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/accountsservice/0.6.15-2ubuntu9.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in accountsservice (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
awol (awol99) wrote :

this seems fixed now - PowerPC (g5 MacPro).

 i was sloppy though. i just turned on all precise-proposed.

THANKS !!

Revision history for this message
Ivan Zakharyaschev (imz) wrote :

Yes, thanks! After the installation of accountsservice_0.6.15-2ubuntu9.2_armhf.deb from precise-proposed/main the accounts settings menu and the lists of users function correctly on my Toshiba AC100 (ARM) with Ubuntu 12.04.

tags: added: powerpc ppc verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package accountsservice - 0.6.15-2ubuntu9.2

---------------
accountsservice (0.6.15-2ubuntu9.2) precise-proposed; urgency=low

  * debian/patches/git_object_path_type.patch:
    - user correct object_path type, should fix issues with the users
      being incorrectly listed in lightdm or the user panel on powerpc
      or arm for example (lp: #952909)
 -- Sebastien Bacher <email address hidden> Thu, 19 Jul 2012 17:09:17 +0200

Changed in accountsservice (Ubuntu Precise):
status: Fix Committed → 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.