[systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

Mathieu Bridon bochecha at fedoraproject.org
Tue Jun 19 19:17:49 PDT 2012


On Tue, 2012-06-19 at 19:15 +0200, Lennart Poettering wrote:
> On Tue, 19.06.12 18:50, Michael Olbrich (m.olbrich at pengutronix.de) wrote:
> 
> > Hi,
> > 
> > On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote:
> > > On Mon, 18.06.12 21:56, Paul Menzel (paulepanter at users.sourceforge.net) wrote:
> > > > 
> > > > Do you know of a service file for openssh-server?
> > > 
> > > The Fedora packages have some, but I don't like them too much since they
> > > don't use socket activation...
> > 
> > Is someone actually working on real socket activation for openssh? While
> > the inetd like stuff works, it does not perform well.
> 
> it doesn't? In which way? It should be totally OK?

When we worked on porting the package to systemd units, we found that
the per-connection openssh process would exit with a non-zero status
code even if the client disconnected properly:
  https://bugzilla.redhat.com/show_bug.cgi?id=697698#c59

No idea if that has been fixed upstream since, but that's why the
inetd-style socket activation units aren't shipped in Fedora.


-- 
Mathieu




More information about the systemd-devel mailing list