#5442 NORM Never A: Stream tubes using Unix socket are broken in current Joyride

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 11 08:07:31 EST 2007


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

Comment(by gdesmott):

 So the problem on the initiator side.
 Acoustic creates an Unix socket using the following code:

 {{{
 f = os.tempnam()
 self.server_socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
 self.server_socket.bind(f)
 }}}

 With Rainbow enabled, os.tempnam() returns something like that:
 /activities/uid_to_home_dir/1020/tmp/file5oD1qg

 We have then 2 problems:
 a) For some reason this file is not created. Don't know why.
 b) Salut/Gabble can't access to /activities/uid_to_home_dir/1020/tmp so
 even if the file was actually created, it won't work

 mstone: Any idea about how we could fix these issues?

 I tried to hardcode a "/tmp/<random-string>" instead of os.tempnam() and
 it was working fine.

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



More information about the Bugs mailing list