[tor-bugs] #4602 [arm]: Arm's torrc validation misses alternate Log default

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Nov 29 20:34:46 UTC 2011


#4602: Arm's torrc validation misses alternate Log default
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  normal  |      Milestone:        
Component:  arm     |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 Tor reports a default log value ("Log notice stdout") if none is defined
 as per...
 https://trac.torproject.org/projects/tor/ticket/2362

 However, with the deb it defaults to "Log notice file /var/log/tor/log"
 instead, causing validation to think that this is an issue. I should
 account for this too.

 Thanks to Sebastian, here's the part that determines this...

 12:31 < Sebastian> atagar:
 12:31 < Sebastian> +  if (debian_running_as_debiantor()) {
 12:31 < Sebastian> +    if (!options->Logs && !from_setconf)
 12:31 < Sebastian> +      config_line_append(&options->Logs, "Log",
 "notice file /var/log/tor/log");

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4602>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list