-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init: do not run shutdown/reexec actions from signal handler
this is racy wrt various libc functions such as syslog() function old new delta check_delayed_sigs 182 352 +170 init_main 772 728 -44 restart_handler 74 - -74 halt_reboot_pwoff 79 - -79 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/1 up/down: 170/-197) Total: -27 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
- Loading branch information
Denys Vlasenko
committed
Nov 21, 2014
1 parent
4e314fa
commit 2bba9ad
Showing
1 changed file
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2bba9ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recently we upgraded busybox from version 1.20.2 to 1.26.2.
We are facing a issue where reboots(as mentioned below) from init scripts doesn't seem to work.
In case of critical errors during initscript execution we used to reboot the board. Now
reboot
doesn't seem to work howeverreboot -f
works but that doesn't run stop script to do cleanup. From SO I got redirected to this patch.I have following queries, if someone can help
2bba9ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the similar issues when a single app is runing at
sysinit
.It can be fixed by reverting this patch.