oberman at es.net
Fri Dec 10 06:03:36 UTC 2010
> Date: Thu, 9 Dec 2010 23:35:51 -0600
> From: Adam Vande More <amvandemore at gmail.com>
> Sender: owner-freebsd-stable at freebsd.org
> On Thu, Dec 9, 2010 at 11:10 PM, Mark Andrews <marka at isc.org> wrote:
> > Why would you want it to be? One really shouldn't be running /sbin/reboot
> > directly as part of normal operations. shutdown does a graceful reboot if
> > and when operators need to perform reboot.
> AFAIK, the only functional difference between the two is shutdown(8)
> notifies other logged in users of the impending shutdown. I've used
> reboot(8) for a long time with no ill effects so I'd be interested to hear
> what you meant there. Since an operator can use shutdown(8) to initiate the
> same shutdown sequence reboot(8) uses, it wouldn't seems to be a security
> based decision.
Sorry, but this is not at all true, though it often seems so.
Unlike reboot, shutdown attempts to cleanly stop all processes. Things
like databases can be badly damaged by a reboot. Other processes save
state when stopped and that is lost with a reboot.
Simply stated, doing a reboot as a standard method of restarting a
system is not a good idea and that is why it is not owned by the
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
More information about the freebsd-stable