On Thu, Nov 2, 2017 at 12:02 AM, wenzong fan <wenzong....@windriver.com> wrote: > > > On 11/01/2017 08:51 PM, Otavio Salvador wrote: >> >> Hello, >> >> On Wed, Nov 1, 2017 at 4:04 AM, <wenzong....@windriver.com> wrote: >>> >>> From: Wenzong Fan <wenzong....@windriver.com> >>> >>> Disable 'mountall.sh' to avoid system halt while the init manager is >>> set as 'busybox'. >>> >>> In busybox init, the 'SIGUSR1' was handled as 'halt', calling to the >>> 'mountall.sh' would trigger the signal with: >>> + kill -USR1 1 >> >> >> Wouldn't be better to add the signal handler for it? > > > There's the handler in busybox-1.24.1/init/init.c: > > 788 /* The SIGPWR/SIGUSR[12]/SIGTERM handler */ > 789 static void halt_reboot_pwoff(int sig) NORETURN; > 790 static void halt_reboot_pwoff(int sig) > 791 { > ... > 803 run_shutdown_and_kill_processes(); > ... > 817 } > > I think it was intended to halt the system.
Ok; but what mountall will offer to OE-Core then? If we use systemd, it all another way to provide the same. So why not dropping it? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core