[Nix-dev] [NixOS/nixos] a5969: sshd: Do detach into thebackground

Michael Raskin 7c6f434c at mail.ru
Sun Oct 7 19:35:22 CEST 2012


> > Commit: a5969634f4da94f85ffbce2ce81f760fd73c67e5
> >
> > Log Message:
> > -----------
> > sshd: Do detach into the background
> >
> > This is necessary to ensure that jobs that need to start after sshd
> > work properly.
>
>this seems counter-intuitive to me. How is running sshd asynchronously
>going to make the service more reliable for dependent jobs that start
>after it? A synchronous start-up feels more predictable to me. What am I
>missing?

I guess Systemd lacks the means to say that "started" means "listening
on proper TCP port". And without this, sshd detaching is the only clear
point in time that allows to decide that it somehow started.





More information about the nix-dev mailing list