[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2017-12-24 Thread Bug Watch Updater
** Changed in: accountsservice Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1259562 Title: Old guest users pollute accountsservice

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2016-05-15 Thread Gunnar Hjalmarsson
** No longer affects: lightdm ** No longer affects: lightdm (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1259562 Title: Old guest users pollute accountsservice St

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-11 Thread Launchpad Bug Tracker
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). -- Gunn

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-11 Thread Bug Watch Updater
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 https://help

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-11 Thread Gunnar Hjalmarsson
** 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

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-11 Thread Gunnar Hjalmarsson
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: (unassig

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Robert Ancell
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 t

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Robert Ancell
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

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Gunnar Hjalmarsson
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. -

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Robert Ancell
** Also affects: accountsservice (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1259562 Title: Old guest users pollute accountsser

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Robert Ancell
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 Desktop Packages, which is

[Desktop-packages] [Bug 1259562] Re: Old guest users pollute accountsservice

2013-12-10 Thread Gunnar Hjalmarsson
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" https://bugs.launchpa