Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2025 11:21:51 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, Zhenlei Huang <zlei@FreeBSD.org>, FreeBSD Current <current@FreeBSD.org>, <sjg@juniper.net>
Subject:   Re: sysctl to prevent reboot?
Message-ID:  <20601.1752171711@kaos.jnpr.net>
In-Reply-To: <aG_OeXOdKQ9uAt7m@kib.kiev.ua>
References:  <o2o49n7o-793n-q70n-s017-5q9508r363q7@yvfgf.mnoonqbm.arg> <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> <o0829s6o-7365-qn4n-8s39-0ro2r6173596@yvfgf.mnoonqbm.arg> <aG_OeXOdKQ9uAt7m@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail

Konstantin Belousov <kostikbel@gmail.com> wrote:
> > That doesn't catch reboot, does it?  For me that's the offending command
> > as I type that at the loader prompt (if I am in the correct window).
> 
> Reboot is very different from shutdown.  I never use it except on nfs-booted
> crash boxes, so I did not considered.

The problem Bjoern cites (did myself not that long ago ;-)
is where you *think* you are typing 'reboot' or 'shutdown -p' etc
at a vm guest - equivalent to "nfs-booted crash box", but
infact you are on the vm host - oops.




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20601.1752171711>