Init Patch for review and evaluation
Eugene Bordenkircher
eugebo at gmail.com
Fri Dec 28 02:09:32 UTC 2007
On Tue, 2007-12-25 at 01:10 +0000, Denys Vlasenko wrote:
> On Saturday 22 December 2007 22:42, Eugene Bordenkircher wrote:
> > Hello all,
> >
> > The following patch to init fills a need that myself and several of my
> > co-workers have. The general idea is to have init kill those processes
> > that have been removed from the inittab file after it has received a
> > SIGHUP. Currently, init will let them continue to run, but will not
> > respawn them if they die.
> >
> > The changes were added as a selectable feature in the busybox config.
> > Hopefully the patch will help others as well.
> >
> > Please respond with any comments/concerns/suggestions to help clarify or
> > improve the implementation.
>
> Patch is added to svn, thanks. If you can download & verify that
> it works as you intended, I'd be happy^2.
> --
> vda
Works beautifully, and I like your implementation better.
I am having one problem with init on svn HEAD though that I haven't had
time to track down yet. Blank lines in inittab are causing init to
throw a warning about a badly formatted line. I have a suspicion that
the inittab that was being parsed may have some DOS line endings and
that is what is causing the problem, but I won't be able to verify until
I get back to work tomorrow.
Thanks again
Eugene
More information about the busybox
mailing list