← Back to team overview

desktop-packages team mailing list archive

[Bug 874671] Re: Empathy doesn't remember favorites, chat logs when ~/.local is a symlink

 

** Description changed:

  After upgrading to Oneiric, all of my Empathy favorites have been
  forgotten. Setting them again doesn't survive a logout/login cycle.
  
  I now think this may be due to the fact that I keep my /home/jay/.local
- directory as a symlink to /var/jay/.local on my SSD. This didn't used to
- be a problem in Natty, so I don't know what changed.
+ directory as a symlink to /var/jay/.local on my SSD (and the same with
+ ~/.cache). This didn't used to be a problem in Natty, so I don't know
+ what changed.
  
  syslog shows these messages when I try to add a favorite or when i
  send/receive a message, respectively:
  
  Oct 27 20:09:56 jay-desktop kernel: [112564.420709] type=1400
  audit(1319760596.740:443): apparmor="DENIED" operation="open" parent=1
  profile="/usr/lib/telepathy/telepathy-*" name="/var/jay/.local/share
  /telepathy-logger/favourite-contacts.txt" pid=8346 comm="telepathy-
  logge" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
  
  Oct 27 20:27:13 jay-desktop kernel: [113599.103628] type=1400
  audit(1319761633.412:598): apparmor="DENIED" operation="mknod" parent=1
  profile="/usr/lib/telepathy/telepathy-*"
  name="/var/jay/.local/share/TpLogger/logs/gabble_jabber_jay_XXXXXXXXXXX_2ecom0/XXXXXXXXXXXXX@xxxxxxxxx/20111028.log"
  pid=5324 comm="telepathy-logge" requested_mask="c" denied_mask="c"
  fsuid=1000 ouid=1000
  
  I changed some permissions on the folders in /var/jay/.local (and
- applied to sub-folders, probably an awful idea) and the problem remains.
+ applied to sub-folders, probably an awful idea) and the problem
+ remained.
+ 
+ I adapted the instructions from this comment:
+ https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-
+ control-5/+bug/816554/comments/4
+ 
+ adding "owner /var/jay/.local/share/telepathy*/ rw," and the like to my
+ /etc/apparmor.d/usr.lib.telepathy file, then running:
+ 
+ sudo apparmor_parser -r /etc/apparmor.d/usr.lib.telepathy
+ 
+ Empathy is now successfully saving logs, even though
+ @{HOME}/.local/share/telepathy*/ is a symlink to
+ /var/jay/.local/share/telepathy*/
+ 
+ Is it the symlinking that is causing this problem? I assume that it is.
+ Why does apparmor balk at this symlink?
  
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: empathy 3.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Fri Oct 14 18:48:13 2011
  ExecutablePath: /usr/bin/empathy
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.utf8
  SourcePackage: empathy
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)
  XsessionErrors:
   (SparkleShare:3997): GLib-CRITICAL **: g_str_has_suffix: assertion `str != NULL' failed
   (gwibber-service:3991): libindicate-WARNING **: Menu being changed when the indicator is visible.  Listeners will NOT be notified of this change.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to empathy in Ubuntu.
https://bugs.launchpad.net/bugs/874671

Title:
  Empathy doesn't remember favorites, chat logs when ~/.local is a
  symlink

Status in “empathy” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading to Oneiric, all of my Empathy favorites have been
  forgotten. Setting them again doesn't survive a logout/login cycle.

  I now think this may be due to the fact that I keep my
  /home/jay/.local directory as a symlink to /var/jay/.local on my SSD
  (and the same with ~/.cache). This didn't used to be a problem in
  Natty, so I don't know what changed.

  syslog shows these messages when I try to add a favorite or when i
  send/receive a message, respectively:

  Oct 27 20:09:56 jay-desktop kernel: [112564.420709] type=1400
  audit(1319760596.740:443): apparmor="DENIED" operation="open" parent=1
  profile="/usr/lib/telepathy/telepathy-*" name="/var/jay/.local/share
  /telepathy-logger/favourite-contacts.txt" pid=8346 comm="telepathy-
  logge" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000

  Oct 27 20:27:13 jay-desktop kernel: [113599.103628] type=1400
  audit(1319761633.412:598): apparmor="DENIED" operation="mknod"
  parent=1 profile="/usr/lib/telepathy/telepathy-*"
  name="/var/jay/.local/share/TpLogger/logs/gabble_jabber_jay_XXXXXXXXXXX_2ecom0/XXXXXXXXXXXXX@xxxxxxxxx/20111028.log"
  pid=5324 comm="telepathy-logge" requested_mask="c" denied_mask="c"
  fsuid=1000 ouid=1000

  I changed some permissions on the folders in /var/jay/.local (and
  applied to sub-folders, probably an awful idea) and the problem
  remained.

  I adapted the instructions from this comment:
  https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-
  control-5/+bug/816554/comments/4

  adding "owner /var/jay/.local/share/telepathy*/ rw," and the like to
  my /etc/apparmor.d/usr.lib.telepathy file, then running:

  sudo apparmor_parser -r /etc/apparmor.d/usr.lib.telepathy

  Empathy is now successfully saving logs, even though
  @{HOME}/.local/share/telepathy*/ is a symlink to
  /var/jay/.local/share/telepathy*/

  Is it the symlinking that is causing this problem? I assume that it
  is. Why does apparmor balk at this symlink?


  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: empathy 3.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Fri Oct 14 18:48:13 2011
  ExecutablePath: /usr/bin/empathy
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.utf8
  SourcePackage: empathy
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)
  XsessionErrors:
   (SparkleShare:3997): GLib-CRITICAL **: g_str_has_suffix: assertion `str != NULL' failed
   (gwibber-service:3991): libindicate-WARNING **: Menu being changed when the indicator is visible.  Listeners will NOT be notified of this change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/874671/+subscriptions


References