[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2296: tahoe with torsocks leads to "[Errno 1] Operation not permitted"

Tahoe-LAFS trac at tahoe-lafs.org
Tue Sep 9 20:19:05 UTC 2014


#2296: tahoe with torsocks leads to "[Errno 1] Operation not permitted"
-------------------------+---------------------------
 Reporter:  irregulator  |          Owner:  daira
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:  undecided
Component:  unknown      |        Version:  1.10.0
 Keywords:               |  Launchpad Bug:
-------------------------+---------------------------
 I'm trying to use tahoe with torsocks.

 It's tahoe 1.10.0-2 and Torsocks 2.0.0-1 from debian testing.


 {{{
 torsocks tahoe start
 STARTING '/home/user/.tahoe'
 An error has occurred: '[Errno 1] Operation not permitted'
 Please look at log file for more information.

 2014-09-09 19:29:41+0300 [-] Log opened.
 2014-09-09 19:29:41+0300 [-] twistd 14.0.0 (/usr/bin/python 2.7.8)
 starting up.
 2014-09-09 19:29:41+0300 [-] reactor class:
 twisted.internet.epollreactor.EPollReactor.
 2014-09-09 19:29:41+0300 [-] Traceback (most recent call last):
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/allmydata/scripts/runner.py", line 156, in run
 2014-09-09 19:29:41+0300 [-]     rc = runner(sys.argv[1:],
 install_node_control=install_node_control)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/allmydata/scripts/runner.py", line 135, in runner
 2014-09-09 19:29:41+0300 [-]     rc = startstop_node.dispatch[command](so,
 stdout, stderr)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/allmydata/scripts/startstop_node.py", line 73, in start
 2014-09-09 19:29:41+0300 [-]     twistd.run()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/scripts/twistd.py", line 27, in run
 2014-09-09 19:29:41+0300 [-]     app.run(runApp, ServerOptions)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/app.py", line 642, in run
 2014-09-09 19:29:41+0300 [-]     runApp(config)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2014-09-09 19:29:41+0300 [-]     _SomeApplicationRunner(config).run()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/app.py", line 380, in run
 2014-09-09 19:29:41+0300 [-]     self.postApplication()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/scripts/_twistd_unix.py", line 193, in postApplication
 2014-09-09 19:29:41+0300 [-]     self.startApplication(self.application)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/scripts/_twistd_unix.py", line 381, in startApplication
 2014-09-09 19:29:41+0300 [-]
 service.IService(application).privilegedStartService()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/service.py", line 277, in
 privilegedStartService
 2014-09-09 19:29:41+0300 [-]     service.privilegedStartService()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/service.py", line 277, in
 privilegedStartService
 2014-09-09 19:29:41+0300 [-]     service.privilegedStartService()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/service.py", line 277, in
 privilegedStartService
 2014-09-09 19:29:41+0300 [-]     service.privilegedStartService()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/internet.py", line 105, in
 privilegedStartService
 2014-09-09 19:29:41+0300 [-]     self._port = self._getPort()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/application/internet.py", line 133, in _getPort
 2014-09-09 19:29:41+0300 [-]     'listen%s' % (self.method,))(*self.args,
 **self.kwargs)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/internet/posixbase.py", line 495, in listenTCP
 2014-09-09 19:29:41+0300 [-]     p.startListening()
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/dist-
 packages/twisted/internet/tcp.py", line 980, in startListening
 2014-09-09 19:29:41+0300 [-]     skt.listen(self.backlog)
 2014-09-09 19:29:41+0300 [-]   File "/usr/lib/python2.7/socket.py", line
 224, in meth
 2014-09-09 19:29:41+0300 [-]     return getattr(self._sock,name)(*args)
 2014-09-09 19:29:41+0300 [-] error: [Errno 1] Operation not permitted
 }}}

 tahoe client works fine without torsocks

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2296>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list