Re: init/umount problem persists
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.
[-----------snip------------]
> 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
> 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.
-Erik
--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--
Reply to: