** Changed in: accountsservice
Status: Confirmed => Fix Released
--
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
** No longer affects: lightdm
** No longer affects: lightdm (Ubuntu)
--
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
I successfully tested a slightly modified patch, so I uploaded and
forwarded upstream.
** Changed in: accountsservice (Ubuntu)
Importance: Undecided = Low
** Changed in: accountsservice (Ubuntu)
Status: New = In Progress
** Changed in: accountsservice (Ubuntu)
Assignee:
** Description changed:
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.
--
You received this
Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=72596.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
This bug was fixed in the package accountsservice - 0.6.35-0ubuntu2
---
accountsservice (0.6.35-0ubuntu2) trusty; urgency=low
[ Robert Ancell ]
* debian/patches/0017-clean-up-cache-dir.patch:
Remove user cache files if user account no longer exists
(LP: #1259562).
--
The attached patch is one way to fix the issue. I know that you are not
supposed to edit in /var/lib/AccountsService/users directly, so it's
probably not the most proper solution you can think of, but it works.
;-)
** Patch added: delete-guest-from-accountsservice.patch
Ah, yeah, that's not something lightdm would be allowed to do. I suspect
the correct solution is that accounts service should delete directories
if the user accounts no longer exist on startup or similar.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Also affects: accountsservice (Ubuntu)
Importance: Undecided
Status: New
--
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
Well, accountsservice provides a DeleteUser method, so from an
accountsservice POV you can argue that the correct solution is to call
that method (as is done when you delete a regular user via User Accounts
in gnome-control-center). I don't know how that would be done from a
dash script, though.
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
As an aside, I was thinking when I added guest support to LightDM it
would be good to make an AddGuest method to A-S and leave it to A-S to
do all the guest account work. In that case it would allow A-S to
correctly clean up when the guest account was removed. We could also
mark the guest accounts
12 matches
Mail list logo