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

Bug#333522: possible problem cause: wait4(-1)



Rusty Russell wrote:

Martin Wilck <martin.wilck@fujitsu-siemens.com> wrote:

0. the module loading tool runs during boot with PID 1.

I do not understand how this can happen.  request_module() cannot occur
until usermodehelper_init() is called.  This is only done once the init
thread is spawned, which should take pid 1.

The process I am talking about was running in init's context. It _was_ the initrd's init process, actually.

Also, reparenting should happen to the process in the kernel which is
"child_reaper", even if another process were to have PID 1...

I saw the phenomenon I described happen, at least withn vanilla kernel 2.6.12-rc5 on Redhat EL3.0.

Here are two references;

http://lkml.org/lkml/2005/6/7/93
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0506.3/0354.html

Regards,
Martin

--
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1        mailto:Martin.Wilck@Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy



Reply to: