[tor-bugs] #3782 [Tor Relay]: Tor should learn to chroot
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Aug 22 11:18:03 UTC 2011
#3782: Tor should learn to chroot
-------------------------+--------------------------------------------------
Reporter: ioerror | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
To run Tor in a chroot is somewhat difficult. Currently users have to
create a custom chroot and then manually chroot before starting Tor. This
is a difficult process for most people and in general it would be much
easier to add an option to Tor.
I think that to do this the Tor process will need to open devices and log
files before chrooting and then in the chroot, it will need to store all
of the things normally stored in /var/lib/tor and it will need to have
access to /etc/tor/torrc or a copy of it. It will need to use syslog
rather than a file unless we pass an open fd (yuck).
Thoughts?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3782>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list