Opened 5 years ago

Closed 5 years ago

#12028 closed defect (fixed)

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

Reported by: alphawolf Owned by: nickm
Priority: Medium Milestone: Tor: 0.2.5.x-final
Component: Core Tor/Tor Version: Tor: 0.2.5.4-alpha
Severity: Keywords: sandbox
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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

Child Tickets

Change History (2)

comment:1 Changed 5 years ago by nickm

Owner: set to nickm
Status: newassigned

comment:2 Changed 5 years ago by nickm

Resolution: fixed
Status: assignedclosed

268a117cdf5e58da81fd9ece925c1b963f4c1ecb should fix this; please reopen if this occurs in current master.

Note: See TracTickets for help on using tickets.