** Description changed:

  [Impact]
  
- Using yakkety with systemd user session makes telepathy unhappy because
- access to /run/user/<nnn>/bus is denied
+ Systemd user sessions makes telepathy unhappy because access to
+ /run/user/<nnn>/bus is denied
  
  [Test Case]
  
  In yakkety:
  
-   sudo apt install dbus-user-session empathy
+   sudo apt install dbus-user-session empathy
  
  Restart the session (or reboot), start empathy. It fails with "Error
  contacting the account manager", and dmesg shows several
+ 
+ In 16.04, you may need to set correctly DBUS_SESSION_BUS_ADDRESS before
+ launching empathy:
+ 
+ $ DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" empathy
  
  [ 63.960358] audit: type=1400 audit(1469458539.595:27):
  apparmor="DENIED" operation="connect" profile="/usr/lib/telepathy
  /mission-control-5" name="/run/user/1000/bus" pid=4563 comm="mission-
  control" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
  
  [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.

** Description changed:

  [Impact]
  
  Systemd user sessions makes telepathy unhappy because access to
  /run/user/<nnn>/bus is denied
  
  [Test Case]
  
- In yakkety:
+ $ sudo apt install dbus-user-session empathy
  
-   sudo apt install dbus-user-session empathy
+ Restart the session (or reboot) and then start empathy:
  
- Restart the session (or reboot), start empathy. It fails with "Error
- contacting the account manager", and dmesg shows several
+ $ empathy
  
  In 16.04, you may need to set correctly DBUS_SESSION_BUS_ADDRESS before
  launching empathy:
  
  $ DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" empathy
+ 
+ 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(1469458539.595:27):
  apparmor="DENIED" operation="connect" profile="/usr/lib/telepathy
  /mission-control-5" name="/run/user/1000/bus" pid=4563 comm="mission-
  control" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
  
  [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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1604872

Title:
  Apps can't connect to the user's session bus, even though it exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1604872/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to