[systemd-devel] xnitd

Amit Saha asaha at redhat.com
Thu Nov 28 15:59:36 PST 2013



----- Original Message -----
> From: "Mantas Mikulėnas" <grawity at gmail.com>
> To: "Cecil Westerhof" <Cecil.Westerhof at snow.nl>
> Cc: "systemd Mailing List" <systemd-devel at lists.freedesktop.org>
> Sent: Friday, November 29, 2013 9:57:04 AM
> Subject: Re: [systemd-devel] xnitd
> 
> On Nov 29, 2013 1:30 AM, "Cecil Westerhof" <Cecil.Westerhof at snow.nl> wrote:
> >
> > How does systemd compare to xinitd?
> 
> Did you mean inetd/xinetd?
> 
> systemd's .socket units are very similar (many existing programs, like
> sshd, can be moved directly from inetd to systemd -- Accept=yes corresponds
> to the 'nowait' type, and Accept=no to 'wait'), but since each . socket
> unit starts a corresponding . service unit, you get the same systemd
> features as with regular services -- dependencies, resource limits, process
> tracking, etc.
> 
> On the other hand, there is no support for things like TCPMUX, SunRPC
> services (though Avahi integration was planned once), or some more obscure
> xinetd options.
> 
> While both systems support both methods, systemd's socket activation is
> more often used to pass the *listener* socket to the service, which still
> does all accepting itself (e.g. both DBus and udev start this way);
> meanwhile, I see inetd more often used to start one instance per connection.

This document may prove useful: http://0pointer.de/blog/projects/inetd.html

Best,
Amit

-- 
Amit Saha <http://echorand.me>


More information about the systemd-devel mailing list