[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3782 [Core Tor/Tor]: Add native chroot support to Tor
#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 teor):
Replying to [comment:11 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?
Those directories are the default. Tor has the DataDirectory, Log, and -f
options, which can all be used to place the relevant files in a cheroot
directory.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3782#comment:12>
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