Apps can't connect to the user's session bus, even though it exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Fix Released
|
High
|
Tyler Hicks | ||
Xenial |
Fix Released
|
High
|
Tyler Hicks |
Bug Description
[Impact]
Systemd user sessions makes telepathy unhappy because access to /run/user/<nnn>/bus is denied
[Test Case]
$ sudo apt install dbus-user-session empathy
Restart the session (or reboot) and then start empathy:
$ empathy
In 16.04, you may need to set correctly DBUS_SESSION_
$ DBUS_SESSION_
Without this bug fix, empathy fails with "Error contacting the account manager", and dmesg shows several denial messages like so:
[ 63.960358] audit: type=1400 audit(146945853
[Regression Potential]
None. The fix simply adds permissions to the dbus-session-strict abstraction. This change will not introduce any new AppArmor denials since policy is being loosened instead of being restricted.
tags: | added: patch |
tags: | added: systemd-session |
summary: |
- dbus abstraction not compatible with dbus-user-session + Apps can't connect to the user's session bus, even though it exists |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in apparmor (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Tyler Hicks (tyhicks) |
description: | updated |
description: | updated |
This is the upstream patch.