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

[tor-bugs] #4217 [Tor Relay]: Hibernation fix for bug2003 breaks start-as-root, bind-to-low-ports



#4217: Hibernation fix for bug2003 breaks start-as-root, bind-to-low-ports
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 Zax starts his Tor as root and has it bind to some low ports.  When he
 upgraded to a recent git, he started getting permission denied errors.
 Git bisect shows that the offending commit was d10ae9c02808c10b19b, which
 was supposed to ensure that startup worked sanely for hibernating nodes.
 It looks like that commit makes the bind happen after we drop root.

 It's not totally clear to me yet whether this bug only shows up when
 you're running with accounting.  If so, not to worry: that configuration
 (low ports, start as root, '''and''' accounting) isn't something we ever
 supported, since we can't rebind ports after waking up.  But I suspect
 that the bug shows up either way, with accounting or not.  If so, that's a
 big problem and we should fix it.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4217>
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