mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nico Schottelius <nico-kernel@schottelius.org>
To: Bart Hartgers <bart@etpmod.phys.tue.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: gzip zombie / spawned from init
Date: Tue, 14 Jun 2005 13:03:03 +0200	[thread overview]
Message-ID: <20050614110303.GG1467@schottelius.org> (raw)
In-Reply-To: <42AEB756.2030809@etpmod.phys.tue.nl>

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

Thanks for the fast answer, Bart.

Bart Hartgers [Tue, Jun 14, 2005 at 12:54:14PM +0200]:
> Nico Schottelius wrote:
> > [zombie in your head...]
> 
> Yes and no. If a parent exits before its child, the child is reparented 
> to init. loadkeys probably doesn't wait properly for gzip to finish.

Ok, so I'll try to contact the loadkeys developer.

> >cinit forks() loadkeys and does waitpid() for it. There is no
> > loadkeys zombie, only gzip.
> 
> Use waitpid(-1,...) or wait(...) to wait on all childeren in your init. 
> gzip will become a child of cinit.

Well, wait waitpid(-1, ...) cannot be used, as there are many other
children (the system is booting up at the time the gzip process
becomes a zombie).

Still you cleared this issue for me.

Nico

-- 
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

  reply	other threads:[~2005-06-14 11:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14  8:54 Nico Schottelius
2005-06-14 10:54 ` Bart Hartgers
2005-06-14 11:03   ` Nico Schottelius [this message]
2005-06-14 11:32   ` Måns Rullgård
2005-06-14 12:19     ` Richard B. Johnson
2005-06-14 16:07 Chad Kitching

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050614110303.GG1467@schottelius.org \
    --to=nico-kernel@schottelius.org \
    --cc=bart@etpmod.phys.tue.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®