[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] tor not starting with NoNewPrivileges = yes (systemd)



On Tue, Mar 17, 2015 at 12:55 PM, Nusenu <nusenu@xxxxxxxxxxxxxxx> 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
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev