Tor fails to reload torrc when torrc %includes a directory with seccomp sandbox enabled
Tor log:
Jul 01 22:19:48.950 [notice] Tor 0.4.5.0-alpha-dev (git-f152d5b15f50972c) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1f, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.
Jul 01 22:19:48.950 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 01 22:19:48.950 [notice] This version is not a stable Tor release. Expect more bugs than usual.
Jul 01 22:19:48.950 [notice] Read configuration file "/home/user/config/torrc".
Jul 01 22:19:48.951 [notice] Processing configuration path "/home/user/config/torrc.d/" at recursion level 1.
Jul 01 22:19:48.951 [warn] ControlPort is open, but no authentication method has been configured. This means that any program on your computer can reconfigure your Tor. That's bad! You should upgrade your Tor controller as soon as possible.
Jul 01 22:19:48.952 [notice] Opening Socks listener on 127.0.0.1:9050
Jul 01 22:19:48.952 [notice] Opened Socks listener on 127.0.0.1:9050
Jul 01 22:19:48.952 [notice] Opening Control listener on 127.0.0.1:1234
Jul 01 22:19:48.952 [notice] Opened Control listener on 127.0.0.1:1234
Jul 01 22:19:48.000 [notice] Bootstrapped 0% (starting): Starting
Jul 01 22:19:49.000 [notice] Starting with guard context "default"
Jul 01 22:19:49.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Jul 01 22:19:49.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Jul 01 22:19:49.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Jul 01 22:19:49.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Jul 01 22:19:49.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Jul 01 22:19:50.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
Jul 01 22:19:50.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
Jul 01 22:19:50.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
Jul 01 22:19:50.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Jul 01 22:19:50.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Jul 01 22:19:50.000 [notice] Bootstrapped 100% (done): Done
Jul 01 22:19:55.000 [notice] New control connection opened from 127.0.0.1.
Jul 01 22:20:02.000 [notice] Received reload signal (hup). Reloading config and resetting internal state.
Jul 01 22:20:02.000 [notice] Read configuration file "/home/user/config/torrc".
Jul 01 22:20:02.000 [notice] Processing configuration path "/home/user/config/torrc.d/" at recursion level 1.
Jul 01 22:20:02.000 [warn] Error reading included configuration file or directory: "/home/user/config/torrc.d/".
Jul 01 22:20:02.000 [err] Reading config failed--see warnings above. For usage, try -h.
Jul 01 22:20:02.000 [warn] Restart failed (config error?). Exiting.
torrc (the directory exists):
Sandbox 1
%include /home/user/config/torrc.d/