Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Doug McNaught
Jesse Pollard <[EMAIL PROTECTED]> 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

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Jesse Pollard
- Received message begins Here - > > This is more a Unix API question than a Linux question. > > I hope the issue is interesting enough to be of interest to some of you. > > Basically, I am writing an init which features process watching > capabilities. My init has a

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Jesse Pollard
- Received message begins Here - This is more a Unix API question than a Linux question. I hope the issue is interesting enough to be of interest to some of you. Basically, I am writing an init which features process watching capabilities. My init has a management

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-21 Thread Doug McNaught
Jesse Pollard [EMAIL PROTECTED] 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

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-20 Thread Eric Lammerts
On Fri, 19 Jan 2001, Felix von Leitner wrote: > Now, the back channel for my init has a function that allows to set the > PID of a process. The idea is that the init does not start sendmail but > a wrapper. The wrapper forks, runs sendmail, does some magic trickery > to find the real PID of

Re: Off-Topic: how do I trace a PID over double-forks?

2001-01-20 Thread Eric Lammerts
On Fri, 19 Jan 2001, Felix von Leitner wrote: Now, the back channel for my init has a function that allows to set the PID of a process. The idea is that the init does not start sendmail but a wrapper. The wrapper forks, runs sendmail, does some magic trickery to find the real PID of the

Off-Topic: how do I trace a PID over double-forks?

2001-01-18 Thread Felix von Leitner
This is more a Unix API question than a Linux question. I hope the issue is interesting enough to be of interest to some of you. Basically, I am writing an init which features process watching capabilities. My init has a management channel with which you can tell it "the PID of the ssh process

Off-Topic: how do I trace a PID over double-forks?

2001-01-18 Thread Felix von Leitner
This is more a Unix API question than a Linux question. I hope the issue is interesting enough to be of interest to some of you. Basically, I am writing an init which features process watching capabilities. My init has a management channel with which you can tell it "the PID of the ssh process