Package: telepathy-mission-control-5
Version: 1:5.16.3-1ubuntu4
Severity: important
Tags: patch

In the resolution of https://bugs.kde.org/show_bug.cgi?id=347219, the
KDE package kaccount-plugins is installing libaccounts' .provider and
.service files under /usr/share/kaccounts/ rather than under the default
(used by GNOME) /usr/share/accounts/.

The MC-5 apparmor profile needs to be consequently modified to allow the
MC process to read the files contained in these directories.

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-2-generic (SMP w/7 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages telepathy-mission-control-5 depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  libc6                                        2.21-0ubuntu5
ii  libdbus-1-3                                  1.10.6-1ubuntu1
ii  libdbus-glib-1-2                             0.106-1
ii  libglib2.0-0                                 2.47.5-1
ii  libmission-control-plugins0                  1:5.16.3-1ubuntu4
ii  libnm-glib4                                  1.0.4-0ubuntu8
ii  libtelepathy-glib0                           0.24.1-1.1

telepathy-mission-control-5 recommends no packages.

Versions of packages telepathy-mission-control-5 suggests:
ii  apparmor        2.10-0ubuntu12
ii  telepathy-haze  0.8.0-2

-- no debconf information
diff --git a/debian/apparmor-profile b/debian/apparmor-profile
index d83af43..ec454d1 100644
--- a/debian/apparmor-profile
+++ b/debian/apparmor-profile
@@ -56,8 +56,8 @@
     # for libaccounts
     owner @{HOME}/.config/libaccounts-glib/          rw,
     owner @{HOME}/.config/libaccounts-glib/**        rwk,
-    /usr/share/accounts/services/                    r,
-    /usr/share/accounts/services/**                  r,
+    /usr/share/{accounts,kaccounts}/{providers,services}/        r,
+    /usr/share/{accounts,kaccounts}/{providers,services}/**      r,
 
     # for mcp-account-manager-ofono.so loaded dynamically by mission-control
     owner @{PROC}/[0-9]*/fd/ r,

Reply via email to