Skip to content

Unable to open /etc/tor/tor-exit-notice.html after SIGHUP with Sandbox

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

Trac:
Username: alphawolf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information