touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #99114
[Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated
** Also affects: content-hub (Ubuntu)
Importance: Undecided
Status: New
** Changed in: content-hub (Ubuntu)
Status: New => Confirmed
** Changed in: media-hub (Ubuntu)
Status: Triaged => Confirmed
** Changed in: content-hub (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1489489
Title:
The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method
is deprecated
Status in content-hub package in Ubuntu:
Confirmed
Status in media-hub package in Ubuntu:
Confirmed
Bug description:
When upstream D-Bus merged the AppArmor mediation patches, they did
not like the GetConnectionAppArmorSecurityContext() bus method.
Instead, they decided to expose a peer's AppArmor context using the
org.freedesktop.DBus.GetConnectionCredentials() bus method. All users
of the GetConnectionAppArmorSecurityContext() method should switch to
the GetConnectionCredentials() method as soon as possible so that
Ubuntu can drop the patch that implements
GetConnectionAppArmorSecurityContext() by the time 16.04 LTS is
released.
In order to switch to the new method, you'll need to depend on
libapparmor 2.10 or newer.
I'll be adding example code that illustrates how to switch from
GetConnectionAppArmorSecurityContext() to GetConnectionCredentials().
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1489489/+subscriptions