[Bug 269233] Randomly is kernel is not rebooting

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Jan 2023 16:04:01 UTC

Mitchell Horne <mhorne@freebsd.org> changed:

           What    |Removed                     |Added
                 CC|                            |mhorne@freebsd.org

--- Comment #1 from Mitchell Horne <mhorne@freebsd.org> ---
(In reply to Ravi from comment #0)

There are a couple of confusing details in this report.

The utility is /sbin/reboot, not /bin/reboot. Maybe that was just a typo?

I do not see a '-z' option to reboot, neither in 14-CURRENT or in 12-STABLE.
"reboot -zn" should exit with an "illegal option" error.

I also do not see a kern.force_kmod_shutdown sysctl in either branch, so this
option has no effect.

Finally, do you have a reason to specify '-n' to reboot? The man page suggests
that it shouldn't be used, unless you know what you are doing.

"shutdown -r now" should provide a consistent reboot behaviour.

You are receiving this mail because:
You are the assignee for the bug.