Re: [tor-dev] start_daemon and finish_daemon

2012-06-13 Thread Zack Weinberg
On Wed, Jun 13, 2012 at 9:52 PM, Nick Mathewson wrote: > >  * The parent process can learn about and report some common kinds of > initialization failure, and >  * The parent process doesn't exit until the child is well and truly launched. Thanks, that makes a lot of sense. I ask because I was u

Re: [tor-dev] start_daemon and finish_daemon

2012-06-13 Thread Nick Mathewson
On Wed, Jun 13, 2012 at 7:26 PM, Zack Weinberg wrote: > Why is the process of going into daemon mode (on Unix) split into two > functions, start_daemon and finish_daemon? It's been so long since we added that code; I hope I remember. If I've got it right, the idea is that you call start_daemon()

[tor-dev] start_daemon and finish_daemon

2012-06-13 Thread Zack Weinberg
Why is the process of going into daemon mode (on Unix) split into two functions, start_daemon and finish_daemon? zw ___ tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

Re: [tor-dev] Stem Testing Mocking Issue

2012-06-13 Thread Erik I Islo
Hi Damian, To answer your first question, we ran into the trouble when mocking time.time(). This came up for us, as type(time.time) is 'builtin_function_or_method', which is the same as type(open) -> 'builtin_function_or_method'. We also updated your adaptation to our patch so that no code is re

Re: [tor-dev] Dreamplug trouble

2012-06-13 Thread Jacob Appelbaum
On 06/13/2012 08:57 AM, Linus Nordberg wrote: > Hi, > > An hour ago I had a beautiful dreamplug laying next to me on my table, > booting freedombox, making me happy. > > Now I have a beautiful dreamplug nicely mounted in a rack in a hall next > to me, not booting at all, making me sad. > > --8<-

[tor-dev] Dreamplug trouble

2012-06-13 Thread Linus Nordberg
Hi, An hour ago I had a beautiful dreamplug laying next to me on my table, booting freedombox, making me happy. Now I have a beautiful dreamplug nicely mounted in a rack in a hall next to me, not booting at all, making me sad. --8<---cut here---start->8--- U-B