[tor-dev] tor not starting with NoNewPrivileges = yes (systemd)
Zack Weinberg
zackw at panix.com
Tue Mar 17 17:29:52 UTC 2015
On Tue, Mar 17, 2015 at 12:55 PM, Nusenu <nusenu at openmailbox.org> wrote:
> I had:
>>> Log debug file /var/log/tor/log
> but it is not being written to.
This is *probably* because one of the missing privileges is the
ability to write to files in /var/log/tor. Try `Log debug stderr`
instead -- you'll have to fish the logs out of systemd's journal, but
I *think* it should keep a complete transcript.
> It is a bit tricky environment to run strace, how would you go about it?
ExecStart = /usr/bin/strace -f /usr/bin/tor -f /etc/tor/torrc --runasdaemon 0
seems like it ought to work (again, the trace will get written to the journal)
zw
More information about the tor-dev
mailing list