Bug#333522: possible problem cause: wait4(-1)
Rusty Russell wrote:
Martin Wilck <firstname.lastname@example.org> 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;
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