[tor-bugs] #25677 [Core Tor]: Tor startup crash with Sandbox 1 in torrc.d - sandbox_intern_string(): Bug: No interned sandbox parameter found

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 30 06:21:29 UTC 2018


#25677: Tor startup crash with Sandbox 1 in torrc.d - sandbox_intern_string(): Bug:
No interned sandbox parameter found
---------------------------+--------------------
     Reporter:  adrelanos  |      Owner:  (none)
         Type:  defect     |     Status:  new
     Priority:  Medium     |  Milestone:
    Component:  Core Tor   |    Version:
     Severity:  Normal     |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |   Reviewer:
      Sponsor:             |
---------------------------+--------------------
 Tor from deb.torproject.org. Inside Whonix 14.

 {{{dpkg -l | grep tor}}}

 {{{
 ii  tor                                           0.3.2.10-1~d90.stretch+1
 amd64        anonymizing overlay network for TCP
 }}}

 {{{
 user at host:~$ cat /etc/tor/torrc
 ## Do not edit this file!
 ## Please create and add modifications to the following file instead:
 ## /usr/local/etc/torrc.d/50_user.conf

 %include /etc/torrc.d/95_whonix.conf
 user at host:~$ cat /etc/torrc.d/95_whonix.conf
 ## Do not edit this file!
 ## Please create and add modifications to the following file instead:
 ## /usr/local/etc/torrc.d/50_user.conf
 %include /usr/local/etc/torrc.d/40_anon_connection_wizard.conf
 %include /usr/local/etc/torrc.d/50_user.conf
 user at host:~$ cat /usr/local/etc/torrc.d/40_anon_connection_wizard.conf
 # This file is generated by and should ONLY be used by anon-connection-
 wizard.
 # User configuration should go to /usr/local/etc/torrc.d/50_user.conf, not
 here. Because:
 #    1. This file can be easily overwritten by anon-connection-wizard.
 #    2. Even a single character change in this file may cause error.
 # However, deleting this file will be fine since a new plain file will be
 generated the next time you run anon-connection-wizard.
 DisableNetwork 0
 user at host:~$ cat /usr/local/etc/torrc.d/50_user.conf
 Sandbox 1
 }}}

 {{{
 Mar 30 06:14:28 host Tor[5429]: Opening DNS listener on 10.137.11.1:5300
 Mar 30 06:14:28 host Tor[5429]: Opening DNS listener on 127.0.0.1:5400
 Mar 30 06:14:28 host Tor[5429]: Opening Transparent pf/netfilter listener
 on 10.137.11.1:9040
 Mar 30 06:14:28 host Tor[5429]: Opening Transparent pf/netfilter listener
 on 127.0.0.1:9041
 Mar 30 06:14:28 host Tor[5429]: Parsing GEOIP IPv4 file
 /usr/share/tor/geoip.
 Mar 30 06:14:28 host Tor[5429]: Parsing GEOIP IPv6 file
 /usr/share/tor/geoip6.
 Mar 30 06:14:28 host Tor[5429]: Bootstrapped 0%: Starting
 Mar 30 06:14:28 host Tor[5429]: Starting with guard context "default"
 Mar 30 06:14:28 host Tor[5429]: Bootstrapped 80%: Connecting to the Tor
 network
 Mar 30 06:14:28 host Tor[5429]: Signaled readiness to systemd
 Mar 30 06:14:28 host Tor[5429]: Received reload signal (hup). Reloading
 config and resetting internal state.
 Mar 30 06:14:28 host Tor[5429]: Read configuration file "/usr/share/tor
 /tor-service-defaults-torrc".
 Mar 30 06:14:28 host Tor[5429]: Read configuration file "/etc/tor/torrc".
 Mar 30 06:14:29 host Tor[5429]: sandbox_intern_string(): Bug: No interned
 sandbox parameter found for /etc/torrc.d/95_whonix.conf (on Tor 0.3.2.10 )
 Mar 30 06:14:29 host systemd[1]: Started Anonymizing overlay network for
 TCP.
 Mar 30 06:14:29 host Tor[5429]: sandbox_intern_string(): Bug: No interned
 sandbox parameter found for /etc/torrc.d/95_whonix.conf (on Tor 0.3.2.10 )
 Mar 30 06:14:29 host Tor[5429]: Could not open
 "/etc/torrc.d/95_whonix.conf": Permission denied
 Mar 30 06:14:29 host Tor[5429]: Error reading included configuration file
 or directory: "/etc/torrc.d/95_whonix.conf".
 Mar 30 06:14:29 host Tor[5429]: Reading config failed--see warnings above.
 For usage, try -h.
 Mar 30 06:14:29 host Tor[5429]: Restart failed (config error?). Exiting.
 Mar 30 06:14:29 host systemd[1]: tor at default.service: Main process exited,
 code=exited, status=1/FAILURE
 }}}

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


More information about the tor-bugs mailing list