Re: [tor-dev] RFC patch: systemd socket activation

2013-05-20 Thread Nick Mathewson
On Sun, May 19, 2013 at 3:26 PM, Marti Raudsepp wrote: > Hi! > > Thanks for the comments. Sorry if my reply is long-winded, but you > left me no other choice. :) > > On Sun, May 19, 2013 at 6:55 PM, Jacob Appelbaum wrote: >> Could you open a ticket on trac? > > Done: https://trac.torproject.org/p

Re: [tor-dev] RFC patch: systemd socket activation

2013-05-19 Thread Marti Raudsepp
On Sun, May 19, 2013 at 6:55 PM, Jacob Appelbaum wrote: > On what platform did you test it where you expect it to work? How about > other platforms where it shouldn't work but also shouldn't do harm? Actually it looks some sd-daemon.c header includes can cause problems on Windows, particularly ,

Re: [tor-dev] RFC patch: systemd socket activation

2013-05-19 Thread Marti Raudsepp
Hi! Thanks for the comments. Sorry if my reply is long-winded, but you left me no other choice. :) On Sun, May 19, 2013 at 6:55 PM, Jacob Appelbaum wrote: > Could you open a ticket on trac? Done: https://trac.torproject.org/projects/tor/ticket/8908 > It seems to me that this requires a bit of

Re: [tor-dev] RFC patch: systemd socket activation

2013-05-19 Thread Jacob Appelbaum
Marti Raudsepp: > Hi list, > > The attached patch implements support for systemd socket activation. > > For people who don't know what that is: systemd is an "init" system > for Linux. Socket activation means that systemd binds all the sockets > in advance, and only spawns Tor once somebody attem

[tor-dev] RFC patch: systemd socket activation

2013-05-19 Thread Marti Raudsepp
Hi list, The attached patch implements support for systemd socket activation. For people who don't know what that is: systemd is an "init" system for Linux. Socket activation means that systemd binds all the sockets in advance, and only spawns Tor once somebody attempts to connect. More informat