[Bug 224667] The tools reboot and halt are installed with incorrect permissions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 16 15:48:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224667

--- Comment #3 from Mark Millard <markmi at dsl-only.net> ---
(In reply to dr2867.business from comment #2)

Quoting the man page for reboot:

-l           The halt or reboot is not logged to the system log.  This option
             is intended for applications such as shutdown(8), that call
             reboot or halt and log this themselves.

So shutdown uses reboot/halt for its last stage of operation
if the above description is correct.

There may be special contexts in which the extra steps that
shutdown does are to be avoided. (Not that I know of any off
the top of my head. May be if there is evidence of memory
corruption or some such: a clean shutdown based on a garbage
state need not make sense.)

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


More information about the freebsd-bugs mailing list