[Bug 781] New: busybox init recursive calls shutdown scripts on multiple reboots

bugzilla at busybox.net bugzilla at busybox.net
Mon Dec 7 13:14:33 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=781

           Summary: busybox init recursive calls shutdown scripts on
                    multiple reboots
           Product: Busybox
           Version: 1.15.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: simon.kagstrom at netinsight.net
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created an attachment (id=807)
 --> (https://bugs.busybox.net/attachment.cgi?id=807)
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).


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list