Opened 7 years ago

Closed 7 years ago

#4947 closed defect (fixed)

D-Bus tubes are broken in Joyride because of rainbow

Reported by: gdesmott Owned by: gdesmott
Priority: blocker Milestone: Update.1
Component: telepathy-salut Version:
Keywords: fixed rainbow-integration Update.1? Cc: smcv, sjoerd, morgs, daf, robot101, mstone, rorrim
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

Description

D-Bus tubes are broken in current Joyride when /etc/olpc-security is enabled.

telepathy-salut.log

DEBUG: new_connection_cb: got connection
DEBUG: filter_cb: connection was disconnected
<sjoerd> The problem is applications run under a different uid then salut/gabble
<sjoerd> So app request or is offered a tube, gets a unix socket patch back, but can't connect to that because the permissions are ``too strcit''
<cassidy> humm /tmp/dbus-salut-<random> is srwxrwxrwx  olpc olpc
<sjoerd> right
<sjoerd> Then as i expecte it's dbus' policy code that refused the connection
<sjoerd> I wonder if we can easily tell dbus to use the same policy as the session bus
<sjoerd> not sure

Attachments (1)

salut-rainbow.patch (1.8 KB) - added by gdesmott 7 years ago.
This patch should fix this problem when Salut is build with --enable-rainbow

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by rorrim

  • Cc rorrim added

comment:2 Changed 7 years ago by gdesmott

Gabble suffers the same bug: #4948

Changed 7 years ago by gdesmott

This patch should fix this problem when Salut is build with --enable-rainbow

comment:3 Changed 7 years ago by robot101

  • Keywords Update.1? added
  • Owner changed from sjoerd to ApprovalForUpdate

Fixed by adding this patch into the RPM build in telepathy-salut-0.1.9-0.9.olpc2. Tested working in Joyride. Reassigning for Update.1 inclusion approval.

comment:4 Changed 7 years ago by robot101

  • Keywords fixed added

comment:5 Changed 7 years ago by kimquirk

approved for joyride.

comment:6 Changed 7 years ago by kimquirk

  • Milestone changed from Never Assigned to Update.1
  • Priority changed from normal to blocker

comment:7 Changed 7 years ago by cscott

  • Owner changed from ApprovalForUpdate to gdesmott

telepathy-salut 0.1.9-0.9.olpc2 is in update1-637. Please test your fix in the update1 build and close the bug if this issue has been fixed.

comment:8 Changed 7 years ago by gdesmott

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in update1-639

Note: See TracTickets for help on using tickets.