[Dnsmasq-discuss] patch to support systemd socket activation
Jan Seiffert
kaffeemonster at googlemail.com
Tue Nov 15 09:01:18 GMT 2011
2011/11/14 Michael Stapelberg <michael+dnsmasq at stapelberg.de>:
> Hi Simon,
>
> Excerpts from Simon Kelley's message of 2011-11-14 20:15:25 +0000:
>> I'm not a systemd expert, by any means, (I didn't write the code above)
>> but I'd like to understand the advantages and problems with the two
>> methods of activation (DBus and socket)
> Well, the socket activation version would offer the same benefits as the DBus
> activation does, but also in case you don’t want to use DBus :). Not sure how
> relevant the usecase is or if 微菜 is just not aware of the DBus activation.
>
I'm also no expert on systemd, never understood the whole frills about
it. But AFAIK socket activation is a kind of inetd thingy.
It's inspired by MacOS. Normaly a Linux desktop starts one million
Daemon in the Background because the user might need them (Cups, etc).
Socket activation only starts the service the first time their Socket
is used. So if you do not Print that day, cups wouldn't be startet.
But this is IMHO an utter fail for dnsmasq.
Esp. i think DHCP can not work this way.
> Best regards,
> Michael
>
Greetings
Jan
--
Remember to eat a healthy breakfast, for tonight we dine in hell!
More information about the Dnsmasq-discuss
mailing list