Bug 328080 - Contact list looses accounts when closing
Summary: Contact list looses accounts when closing
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: 0.6.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 19:02 UTC by Dirk Heinrichs
Modified: 2013-11-26 16:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2013-11-25 19:02:58 UTC
Whenever I close the contact list, all accounts are gone.

Reproducible: Always

Steps to Reproduce:
1. Create new account
2. Close contact list
3. Open contact list again
Actual Results:  
Accounts are gone.

Expected Results:  
Well, accounts should still be there.
Comment 1 Martin Klapetek 2013-11-25 19:04:32 UTC
Are they really really gone when you check in system settings (-> IM & VoIP settings)?

Also, are you using standard packages (both ktp and system)?
Comment 2 Dirk Heinrichs 2013-11-25 19:17:33 UTC
Yes, and yes (not sure what "standard packages" means here, though).
Comment 3 Martin Klapetek 2013-11-25 19:18:35 UTC
Standard as in "no added ppa into system".

One more thing - can you actually connect when you create that account?
Comment 4 David Edmundson 2013-11-25 19:38:15 UTC
Run ktp-debugger after creating the account 
Copy the output from the tab marked "Mission Control" and either look for errors or paste it here.

Also can you run "mc-tool --dump" from the command line at various points and paste the output. 

This bug is normally caused when Mission Control (the telepathy backend) cannot write to .local/share/telepathy/mission-control/accounts.cfg, which is due to something odd in the setup.
Comment 5 Dirk Heinrichs 2013-11-25 20:05:48 UTC
(In reply to comment #3)

> Standard as in "no added ppa into system".

At least no KDE or Telepathy related packages.

> One more thing - can you actually connect when you create that account?

Yes, that works. As long as I leave contact list open.
Comment 6 Dirk Heinrichs 2013-11-25 20:36:16 UTC
(In reply to comment #4)
> This bug is normally caused when Mission Control (the telepathy backend)
> cannot write to .local/share/telepathy/mission-control/accounts.cfg, which
> is due to something odd in the setup.

Well, I see this in the debugger:

25.11.2013 21:30:50.862642 - [mcd] am_default_load_keyfile: Failed to load accounts from /afs/altum.de/home/heini/.local/share/telepathy/mission-control/accounts.cfg: Permission denied

I've checked the permissions, and they are fine (both Unix and AFS; I can read the file with cat from a shell). Looks like it doesn't like AFS?
Comment 7 Martin Klapetek 2013-11-25 21:06:15 UTC
Are you using the network Andrew File System? That might be the cause of your problem.

Telepathy is restricted in Kubuntu by a security framework called AppArmor, which defines what Telepathy can and cannot do. Can you try turning it off and see if it still happens?

Here are some useful infos:

http://dijks.wordpress.com/2012/07/06/how-to-disable-apparmor-on-ubuntu-12-04-precise/
https://help.ubuntu.com/community/AppArmor#Disable_AppArmor_framework
Comment 8 Dirk Heinrichs 2013-11-26 16:43:28 UTC
(In reply to comment #7)

> Are you using the network Andrew File System? That might be the cause of
> your problem.

Yes, I do. However that was not the problem. It was indeed:

> Telepathy is restricted in Kubuntu by a security framework called AppArmor,
> which defines what Telepathy can and cannot do. Can you try turning it off
> and see if it still happens?

Wasn't aware that I had it still enabled. Usually the first thing I disable. Thanks a lot.
Comment 9 Martin Klapetek 2013-11-26 16:44:58 UTC
Cool, thanks for letting us know :)