[tor-commits] [tor/master] Add documentation about %include and seccomp sandbox limitations

nickm at torproject.org nickm at torproject.org
Tue May 12 16:52:50 UTC 2020


commit cc169eb1204e1cf7d9fd45518edf86a1b397f6dc
Author: Daniel Pinto <danielpinto52 at gmail.com>
Date:   Wed May 6 01:42:24 2020 +0100

    Add documentation about %include and seccomp sandbox limitations
---
 changes/doc34133 | 6 ++++++
 doc/tor.1.txt    | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/changes/doc34133 b/changes/doc34133
new file mode 100644
index 000000000..abe9db614
--- /dev/null
+++ b/changes/doc34133
@@ -0,0 +1,6 @@
+  o Documentation:
+    - Correctly document that we search for a system torrc file before
+      Document the limitations of using %include on config files with 
+      seccomp sandbox enabled. No new files can be added to the 
+      %included directories. Fixes documentation bug 34133; bugfix 
+      on 0.3.1.1-alpha. Patch by Daniel Pinto.
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index fbe2915cf..bc09d634b 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -211,6 +211,8 @@ file will be parsed as if they were written where the %include option is. If
 the path is a folder, all files on that folder will be parsed following lexical
 order. Files starting with a dot are ignored. Files on subfolders are ignored.
 The %include option can be used recursively.
+New configuration files or directories cannot be added to already running Tor
+instance if **Sandbox** is enabled.
 
 By default, an option on the command line overrides an option found in the
 configuration file, and an option in a configuration file overrides one in
@@ -855,6 +857,10 @@ forward slash (/) in the configuration file and on the command line.
     and **ORPort** are not allowed). Currently, if **Sandbox** is 1,
     **ControlPort** command "GETINFO address" will not work. +
      +
+    When using %include in the tor configuration files, reloading the tor
+    configuration is not supported after adding new configuration files or
+    directories. +
+     +
     (Default: 0)
 
 [[Schedulers]] **Schedulers** **KIST**|**KISTLite**|**Vanilla**::





More information about the tor-commits mailing list