#5442 NORM Update.: Stream tubes using Unix socket are broken in current Joyride

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 19 10:44:00 EST 2007


#5442: Stream tubes using Unix socket are broken in current Joyride
------------------------------+---------------------------------------------
  Reporter:  gdesmott         |       Owner:  gdesmott           
      Type:  defect           |      Status:  new                
  Priority:  normal           |   Milestone:  Update.1           
 Component:  telepathy-other  |     Version:                     
Resolution:                   |    Keywords:  rainbow-integration
  Verified:  0                |  
------------------------------+---------------------------------------------

Comment(by bemasc):

 #5440? It doesn't seem to have anything to do with security.

 On the initiator side, the UNIX socket _is_ created by the activity, on
 line 229:

  227         f = os.tempnam()
  228         self.server_socket = socket.socket(socket.AF_UNIX,
 socket.SOCK_STREAM)
  229         self.server_socket.bind(f)
  230
  231         id =
 self.tubes_chan[telepathy.CHANNEL_TYPE_TUBES].OfferStreamTube(
  232             SERVICE, {}, telepathy.SOCKET_ADDRESS_TYPE_UNIX,
 dbus.ByteArray(f),
  233             telepathy.SOCKET_ACCESS_CONTROL_LOCALHOST, "")

 Do I need to chmod the socket?  If so, that should be explained somewhere.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5442#comment:21>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list