[tor-bugs] #12028 [Tor]: Unable to open /etc/tor/tor-exit-notice.html after SIGHUP with Sandbox

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 16 10:48:08 UTC 2014


#12028: Unable to open /etc/tor/tor-exit-notice.html after SIGHUP with Sandbox
-----------------------+------------------------------------
 Reporter:  alphawolf  |          Owner:
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor        |        Version:  Tor: 0.2.5.4-alpha
 Keywords:  sandbox    |  Actual Points:
Parent ID:             |         Points:
-----------------------+------------------------------------
 Tor does not find the DirPortFrontPage after SIGHUP.  File exists (owned
 by root, but world-readable), and was found when tor first loaded.  Tor
 binary was built from git source to mimic Debian packaging.

 log:
 {{{
 May 16 06:25:02.000 [warn] sandbox_intern_string(): Bug: No interned
 sandbox parameter found for /etc/tor/tor-exit-notice.html
 May 16 06:25:02.000 [warn] Could not open "/etc/tor/tor-exit-notice.html":
 Permission denied
 May 16 06:25:02.000 [warn] DirPortFrontPage file '/etc/tor/tor-exit-
 notice.html' not found. Continuing anyway.
 }}}

 /usr/share/tor/tor-service-defaults-torrc:
 {{{
 DataDirectory /var/lib/tor
 PidFile /var/run/tor/tor.pid
 RunAsDaemon 1
 User debian-tor

 ControlSocket /var/run/tor/control
 ControlSocketsGroupWritable 1

 CookieAuthentication 1
 CookieAuthFileGroupReadable 1
 CookieAuthFile /var/run/tor/control.authcookie

 Log notice file /var/log/tor/log
 }}}

 torrc:
 {{{
 DirPortFrontPage /etc/tor/tor-exit-notice.html
 ORPort 9001
 Sandbox 1
 }}}

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


More information about the tor-bugs mailing list