[Bug 12071] New: Busybox reboot command not working in version 1.29.3

bugzilla at busybox.net bugzilla at busybox.net
Fri Jul 26 04:38:57 UTC 2019


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

            Bug ID: 12071
           Summary: Busybox reboot command not working in version 1.29.3
           Product: Busybox
           Version: 1.29.x
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: muppakrishna1 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Dear Team,

Recently we have migrated to latest version 1.29.3 from 1.21.0. And we have
aligned all new config value with respect to project requirement.

During unit testing we found that reboot command is not working as expected. 

We dig into source code and found that removal of "bb_siganls" api where
SIGTERM handler get registered with "halt_reboot_pwoff".

Removed in latest version and it looks happened in 1.23.x version.

bb_signals(0
                                                + (1 << SIGUSR1) /* halt */
                                                + (1 << SIGTERM) /* reboot */
                                                + (1 << SIGUSR2) /* poweroff */
                                                , halt_reboot_pwoff);

Also seen, now signal SIGTERM is getting recorded and handled in
check_delayed_sigs() function but somehow it is not working for us.

When reverted back the changes it started working.

Please do let us know the behind reason of removing the code and impact of this
change.

Attached: config file

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list