| Summary: | busybox init recursive calls shutdown scripts on multiple reboots | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Simon Kagstrom <simon.kagstrom> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | Keywords: | patch |
| Version: | 1.15.x | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | fix recursive rebooting by disabling signals | ||
Fixed, thanks! Will be in 1.16.x |
Created attachment 807 [details] fix recursive rebooting by disabling signals Doing while [ 1 ] ; do reboot ; done with busybox 1.15.2 init causes recursive calls to the shutdown scripts. This patch fixes the issue by disabling the signals at the first invocation of the handler. (The example above is a bit constructed, but it can also happen in some real-world scenarios).