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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1259562

Title:
  Old guest users pollute accountsservice

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to