← Back to team overview

touch-packages team mailing list archive

[Bug 1227818] Re: client apps using qtdeclarative5-ubuntu-contacts0.1 accesses the /org/freedesktop/Telepathy DBus API

 

This bug was fixed in the package apparmor-easyprof-ubuntu - 1.2.16

---------------
apparmor-easyprof-ubuntu (1.2.16) utopic; urgency=medium

  * ubuntu/1.2/connectivity: update to use upcoming connectivity DBus API
    (LP: #1341548)
  * ubuntu/1.[12]/contacts: remove workaround policy since address-book-app
    no longer uses the telepathy API (LP: #1227818)
  * ubuntu/*: explicitly deny rw access to /dev/fb0. It is both dangerous and
    noisy with the camera app
  * ubuntu/ubuntu-webapp: receive application-specific Open on
    org.freedesktop.Application to allow url-dispatcher working with already
    running webapps (LP: #1342129)
 -- Jamie Strandboge <jamie@xxxxxxxxxx>   Thu, 07 Aug 2014 13:19:59 -0500

** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1227818

Title:
  client apps using qtdeclarative5-ubuntu-contacts0.1 accesses the
  /org/freedesktop/Telepathy DBus API

Status in “address-book-app” package in Ubuntu:
  Fix Released
Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  Fix Released
Status in “address-book-app” source package in Saucy:
  Won't Fix
Status in “apparmor-easyprof-ubuntu” source package in Saucy:
  Fix Released
Status in “address-book-app” source package in Trusty:
  Fix Released
Status in “apparmor-easyprof-ubuntu” source package in Trusty:
  Won't Fix

Bug description:
  Using this:

  import Ubuntu.Contacts 0.1
  ...
  Tab {
      title: i18n.tr("Contacts")

      page: Page {
          ContactListView {
              anchors.fill: parent
              onContactClicked: console.debug("Contact ID:" + contact.contactId)
          }
  }

  In addition to using com.canonical.pim, it also accesses:
  org.freedesktop.Telepathy.AccountManager
  org.freedesktop.Telepathy.ChannelDispatcher

  I saw this when profiling applications for apparmor policy groups. Here are the apparmor rules I needed to list the contacts on my desktop system:
  dbus (receive, send)
       bus=session
       path=/org/freedesktop/Telepathy/AccountManager
       peer=(name=org.freedesktop.Telepathy.AccountManager),
  dbus (receive, send)
       bus=session
       path=/org/freedesktop/Telepathy/ChannelDispatcher
       peer=(name=org.freedesktop.Telepathy.ChannelDispatcher),
  dbus (receive, send)
       bus=session
       path=/org/freedesktop/Telepathy/Account/**
       member=Get{,All}
       peer=(name=org.freedesktop.Telepathy.AccountManager),

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1227818/+subscriptions