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

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 20 04:06:32 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 gdesmott):

 Ok, let's try this. The UNIX socket is created when you share your
 activity using that code:

 {{{
         f = os.tempnam()
         self.server_socket = socket.socket(socket.AF_UNIX,
 socket.SOCK_STREAM)
         self.server_socket.bind(f)
         self._logger.debug("create socket %r" % f)
 }}}

 (I added the debug output)

 So now, try to share without security.
 {{{
 1198159466.753237 DEBUG acousticmeasure-activity: create socket
 '/tmp/fileSNugAc'

 # ls /tmp/fileSNugAc
 /tmp/fileSNugAc
 }}}

 Everything is fine, the socket file is created.

 And now with security enabled.
 {{{
 1198159048.291338 DEBUG acousticmeasure-activity: create socket
 '/activities/uid_to_home_dir/1008/tmp/fileLjg484'

 # ls /activities/uid_to_home_dir/1008/tmp/fileLjg484
 ls: cannot access /activities/uid_to_home_dir/1008/tmp/fileLjg484: No such
 file or directory
 }}}

 Here the file wasn't created.

 At this point, Telepathy wasn't involved at all, so that's probably an
 activity/Rainbow bug.

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



More information about the Bugs mailing list