← Back to team overview

dx-packages team mailing list archive

[Bug 1259562] Re: Old guest users pollute accountsservice

 

Yeah, calling DeleteUser would help, though it's not symmetrical since
we didn't call AddUser in the first place. There's a bunch of ways where
accounts could disappear without accounts service being explicitly
notified. The most reliable method would be for it to purge it's cache
when it detects this.

The attached patch will probably fix this (not tested) since A-S already
scans the cache directory on startup.

** Patch added: "0001-Remove-user-cache-files-if-user-account-no-longer-ex.patch"
   https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1259562/+attachment/3927354/+files/0001-Remove-user-cache-files-if-user-account-no-longer-ex.patch

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => Medium

** Changed in: lightdm
       Status: New => Triaged

** Changed in: lightdm (Ubuntu)
       Status: New => Triaged

** Changed in: lightdm
   Importance: Undecided => Medium

** Changed in: lightdm (Ubuntu)
   Importance: Medium => Low

** Changed in: lightdm
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1259562

Title:
  Old guest users pollute accountsservice

Status in Light Display Manager:
  Triaged
Status in “accountsservice” package in Ubuntu:
  New
Status in “lightdm” package in Ubuntu:
  Triaged

Bug description:
  When you log out from a guest session, the temporary guest account is
  removed - but only almost. The folder /var/lib/AccountsService/users
  gets 'polluted' with files for previous guest users.

  This issue is possibly related to bug #1038881.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1259562/+subscriptions