message: Create process group before waiting for start
  The process group is used for sending signals to init and it's
  childs. If the process group is created after the "we're started"
  event the kill might happen before the `setsid` call is done.
diff: @@ -300,6 +300,9 @@ pub(super) fn init(
  // If the child is spawn when the signal is sent to this group it shall exit and the init returns from waitpid.
  set_init_signal_handlers();
  + // Become a session group leader
  + setsid();
  +
  checkpoint.wait(Start::Start);
  checkpoint.send(Start::Started);
  drop(checkpoint);
  @@ -327,9 +330,6 @@ pub(super) fn init(
  // UID / GID
  setid(manifest.uid, manifest.gid);
  - // Become a session group leader
  - setsid();
  -
  // Supplementary groups
  setgroups(groups);
  