Sandbox failure when adding an extra %include file.
Sandbox aborts Tor when when reloading and finding an extra %included torrc file /etc/tor/torrc.d//50_reject_abuse_complaints (on Tor 0.4.4.3-alpha )
I get that warning/Bug when I added a file to the rc.d directory of a sandbox'ed Tor relay and try to reload Tor. IMO Tor should refuse to reload in such a case rather than abort.
Aug 10 23:24:49.000 [notice] Received reload signal (hup). Reloading config and resetting internal state.
Aug 10 23:24:49.000 [notice] Read configuration file "/etc/tor/torrc".
Aug 10 23:24:49.000 [notice] Processing configuration path "/etc/tor/torrc.d/" at recursion level 1.
Aug 10 23:24:49.000 [warn] sandbox_intern_string(): Bug: No interned sandbox parameter found for /etc/tor/torrc.d//50_reject_abuse_complaints (on Tor 0.4.4.3-alpha )
Aug 10 23:24:49.000 [notice] Including configuration file "/etc/tor/torrc.d//00_common".
Aug 10 23:24:49.000 [notice] Including configuration file "/etc/tor/torrc.d//20_exit_flag".
Aug 10 23:24:49.000 [notice] Including configuration file "/etc/tor/torrc.d//40_reject".
Aug 10 23:24:49.000 [notice] Including configuration file "/etc/tor/torrc.d//50_reject_abuse_complaints".
Aug 10 23:24:49.000 [warn] sandbox_intern_string(): Bug: No interned sandbox parameter found for /etc/tor/torrc.d//50_reject_abuse_complaints (on Tor 0.4.4.3-alpha )
Aug 10 23:24:49.000 [warn] Could not open "/etc/tor/torrc.d//50_reject_abuse_complaints": Operation not permitted
Aug 10 23:24:49.000 [warn] Error reading included configuration file or directory: "/etc/tor/torrc.d/".
Aug 10 23:24:49.000 [err] Reading config failed--see warnings above. For usage, try -h.
Aug 10 23:24:49.000 [warn] Restart failed (config error?). Exiting.
Edited by Nick Mathewson