[tor-bugs] #3782 [Core Tor/Tor]: Add native chroot support to Tor

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 21 04:29:09 UTC 2018


#3782: Add native chroot support to Tor
--------------------------+----------------------------------
 Reporter:  ioerror       |          Owner:  (none)
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-relay     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by cypherpunks):

 Tor currently needs to access a few directories, including `/var/lib/tor`,
 `/var/log/tor`, and `/etc/tor`. I believe all of these have files that
 can't simply be opened once before a chroot because they need to be re-
 read when Tor reloads (e.g. when it receives a `SIGHUP`). Would it be an
 issue to create a `/var/lib/tor/chroot` directory and populate it with
 hardlinks to the relevant files?

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


More information about the tor-bugs mailing list