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

Re: [tor-bugs] #7715 [Tor]: Tor is not working with the RunAsDaemon option enabled



#7715: Tor is not working with the RunAsDaemon option enabled
-------------------------------+--------------------------------------------
 Reporter:  srw                |          Owner:               
     Type:  defect             |         Status:  new          
 Priority:  major              |      Milestone:               
Component:  Tor                |        Version:  Tor: 0.2.3.25
 Keywords:  daemon,background  |         Parent:               
   Points:                     |   Actualpoints:               
-------------------------------+--------------------------------------------

Comment(by nickm):

 Hmm.  Is there a logfile?  When I tried this, I got a large number of:

 {{{
 Dec 17 02:11:21.000 [warn] Couldn't open "data/tor0/cached-certs.tmp"
 (data/tor0
 /cached-certs) for writing: No such file or directory
 Dec 17 02:11:21.000 [warn] Error writing certificates to disk.
 Dec 17 02:11:22.000 [warn] Couldn't append to journal in data/tor0/cached-
 microdescs.new: No such file or directory
 Dec 17 02:11:22.000 [warn] Couldn't open "data/tor0/cached-microdescs.new"
 (data/tor0/cached-microdescs.new) for writing: No such file or directory
 Dec 17 02:11:22.000 [warn] Couldn't append to journal in data/tor0/cached-
 microdescs.new: No such file or directory
 Dec 17 02:11:22.000 [warn] Couldn't open "data/tor0/cached-microdescs.new"
 (data/tor0/cached-microdescs.new) for writing: No such file or directory
 Dec 17 02:11:22.000 [warn] Couldn't append to journal in data/tor0/cached-
 microdescs.new: No such file or directory
 }}}

 and such.  I wonder if this has something to do with the fact that there
 are so many relative paths in the example you give.   The RunAsDaemon
 option involves doing a chdir().  Does switching to absolute paths work?
 If so, I wonder which commit broke this.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7715#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs