[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13116 [Ooni]: oonibackend fails to start tor when asking it to drop priviledges
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs