public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug McNaught <doug@wireboard.com>
To: Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>
Cc: leitner@convergence.de, linux-kernel@vger.kernel.org
Subject: Re: Off-Topic: how do I trace a PID over double-forks?
Date: 21 Jan 2001 12:54:11 -0500	[thread overview]
Message-ID: <m33dec7pvg.fsf@belphigor.mcnaught.org> (raw)
In-Reply-To: <200101211747.LAA84311@tomcat.admin.navo.hpc.mil>
In-Reply-To: Jesse Pollard's message of "Sun, 21 Jan 2001 11:47:17 -0600 (CST)"

Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil> writes:

> Ummm ... basicly a "respawn" entry in the inittab is enough for that.

Nope, see below.

> If you wanted sendmail then:
> 
> sndm:234:respawn:/usr/lib/sendmail -bd -q15m
> 
> Will restart sendmail whenever it aborts in runleves 2,3, or 4.

Sendmail in daemon mode forks right away, and the child is the
daemon.  All init will know is that the process it started exited
right away, and you'll get a "respawning too fast" message.

I don't recall if there's an option to sendmail that says "be a
daemon, but run in the foreground."  Probably is, for debugging.

-Doug
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-21 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-21 17:47 Off-Topic: how do I trace a PID over double-forks? Jesse Pollard
2001-01-21 17:54 ` Doug McNaught [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-19  0:36 Felix von Leitner
2001-01-20 10:55 ` Eric Lammerts

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=m33dec7pvg.fsf@belphigor.mcnaught.org \
    --to=doug@wireboard.com \
    --cc=leitner@convergence.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pollard@tomcat.admin.navo.hpc.mil \
    /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