On Tuesday 01 April 2008 23:41, Harald Kuethe wrote: > > ----- Original Message ----- > > From: "Denys Vlasenko" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Cc: "Harald Küthe" <[EMAIL PROTECTED]> > > Sent: Monday, March 31, 2008 9:52 PM > > Subject: Re: [PATCH] init.c, halt command not working > > > > On Monday 31 March 2008 21:59, Harald Küthe wrote: > > > > The sequence of events is: > > > > SIGUSR1 is received > > > > halt_reboot_pwoff(SIGUSR1) calls > > > > kill_all_processes() calls > > > > run_actions(SHUTDOWN): > > > > if (a->action_type & (SYSINIT | WAIT | > > > CTRLALTDEL | SHUTDOWN | RESTART)) { > > > > waitfor(run(a)); > > > > delete_init_action(a); > > > > run(a) vforks... and this is somehow doesn't work very well > > > > > > It looks as if SIGUSR1 is !!not!! received because halt_reboot_pwoff() > > > is not processed. > > > Please confirm that you added a debug printout to > > halt_reboot_pwoff and it is not triggering when halt > > sends SIGUSR1 to init. > > Yes, confirmed!
And also it doesn't trigger when you send signal by hand - "kill -USR1 1" ? -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
