[tor-bugs] #13116 [Ooni]: oonibackend fails to start tor when asking it to drop priviledges

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 10 17:27:11 UTC 2014


#13116: oonibackend fails to start tor when asking it to drop priviledges
---------------------+-------------------------
 Reporter:  hellais  |          Owner:  hellais
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:
Component:  Ooni     |        Version:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+-------------------------
 The changes introduced to fix compatibility with twisted >= 13.1 have made
 it not possible to use oonibackend as a bouncer and collector when
 dropping priviledges.

 This can be reproduces by setting main->uid and main->gid to something
 different than the current using and running ooniprobe as root.

 I believe the issue has to do with the fact that the startTor function
 does not finish running before priviledges are dropped and therefore it
 will at a certain point fail to communicate to the tor process and it will
 never trigger the successful bootstrap.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13116>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list