[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init/umount problem persists



Hi!

 at Date: Tue, 8 Feb 2000 16:28:57 -0700,
   Erik Andersen <andersen@xmission.com> writes:

> On Tue Feb 08, 2000 at 07:14:00PM +0900, Taketoshi Sano wrote:
> > Hi.
> > 
> > I checked the system.c in glibc-2.1.2, and tried the following patch.
> > But this does not work. This problem does not seem avoidable by
> > signal blocking only.
> > 
> 
> You are right.  I have tested this now.  system(3) seems to
> work, but waitfor() doesn't.  I do not understand why yet,
> but it is very frusterating.

Neither me, I can not understand why. What I know is only that 
system() does work, while the waitfor() doesn't. And I agree
to you, it is very frustrating. Maybe we can make things clear
after some studies, but the bugs must be fixed anyhow.

> > So at this timing, "/var/log/messages" can not be created.
> > 
> > I think we should remove this confusing part and the comment.
> 
> Agreed.  I have removed this stuff from 
> boot-floppies/scripts/rootdisk/prototype/etc/inittab

Thanks.

> > I have another idea for init in busybox.
> > 
> > How about to add the new actiontype "last", to be executed at
> > the final moment of the system shutdown.
> > 
> 
> Rather like in sysvinit the "ctrlaltdel" action.  I thought
> about adding that, but never got around to it.  I'll go ahead
> and use your patch, but I will change "last" to "ctrlaltdel"
> to be more like sysvinit.

I am glad that I can help you. Please use it freely as you like.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Reply to: